04519f15e750d1508c5c6bd6888210bdce348802,examples/run_all_examples.py,,,#,8

Before Change


// Run all the files in the EXAMPLE_DIR directory
st.title("Running All Examples")

for filename in os.listdir(EXAMPLE_DIR):
    if filename == THIS_FILENAME or not filename.endswith(".py"):
        continue
    filename = os.path.join(EXAMPLE_DIR, filename)
    st.write("Running `%s`..." % filename)
    if filename in ["examples/mnist-cnn.py"]:
        st.write("**Excluding %s.**" % filename)
        continue
    else:
        os.system("python %s" % filename)
        st.write("Done.")
st.success("Ran all examples files....")
st.balloons()

After Change



st.title("Running All Examples")

st.header("Important Note")

st.warning(
    We are not testing `streamlit kill_proxy` because it would mess with this
    test.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: streamlit/streamlit
Commit Name: 04519f15e750d1508c5c6bd6888210bdce348802
Time: 2018-11-23
Author: adrien.g.treuille@gmail.com
File Name: examples/run_all_examples.py
Class Name:
Method Name:


Project Name: streamlit/streamlit
Commit Name: 1a6e9154d9a34b957bbea7ce48a6c95c6238b23c
Time: 2018-03-18
Author: adrien.g.treuille@gmail.com
File Name: examples/new.py
Class Name:
Method Name:


Project Name: streamlit/streamlit
Commit Name: 2d609c9ef7b41a70cc136ef4b6a7c42800799198
Time: 2018-02-13
Author: adrien.g.treuille@gmail.com
File Name: examples/new.py
Class Name:
Method Name:


Project Name: streamlit/streamlit
Commit Name: 536c65f1fe2e1dc5fb64e278fd95d23f968a2599
Time: 2018-11-23
Author: adrien.g.treuille@gmail.com
File Name: examples/run_all_examples.py
Class Name:
Method Name: