0f65b0232077bf3f00fa4405d7412094dfd2a33a,lib/tests/streamlit/watcher/LocalSourcesWatcher_test.py,LocalSourcesWatcherTest,setUp,#LocalSourcesWatcherTest#,46

Before Change



class LocalSourcesWatcherTest(unittest.TestCase):
    def setUp(self):
        try:
            del sys.modules[DUMMY_MODULE_1.__name__]
        except:
            pass

        try:
            del sys.modules[DUMMY_MODULE_2.__name__]
        except:
            pass

After Change


            "DUMMY_MODULE_1", "DUMMY_MODULE_2", "MISBEHAVED_MODULE",
        ]

        the_globals = globals()

        for name in modules:
            try:
                del sys.modules[the_globals[name].__name__]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: streamlit/streamlit
Commit Name: 0f65b0232077bf3f00fa4405d7412094dfd2a33a
Time: 2019-07-02
Author: thiago@streamlit.io
File Name: lib/tests/streamlit/watcher/LocalSourcesWatcher_test.py
Class Name: LocalSourcesWatcherTest
Method Name: setUp


Project Name: streamlit/streamlit
Commit Name: 59ca2fde6950e736520e40461c24bba9e13adaa9
Time: 2019-06-21
Author: thiago@streamlit.io
File Name: lib/tests/streamlit/watcher/LocalSourcesWatcher_test.py
Class Name: LocalSourcesWatcherTest
Method Name: setUp


Project Name: idaholab/raven
Commit Name: a5982b650f96d79798494626880bb4a79d261a61
Time: 2020-03-20
Author: joshua-cogliati-inl@users.noreply.github.com
File Name: framework/SupervisedLearning/KerasClassifier.py
Class Name:
Method Name: