e3b90cfc15d91e73a0a76c8b9c932fa4a7ac2ea1,test/run_tests.py,,,#,42

Before Change



if __name__ == "__main__":
    test_runner = unittest.TextTestRunner(verbosity=2)
    try:
        import nose
        // we use nose for testing because the ipython tests have some namespace
        // conflict with unittest.
        sys.exit(nose.run_exit(suite=importTests(), config=nose.config.Config(stopOnError=True)))
    except ImportError:
        sys.exit(0 if test_runner.run(importTests()) else 1)

After Change



if __name__ == "__main__":
    import nose
    if len(sys.argv) > 1:
        print("Testing {}".format(" ".join(sys.argv[1:])))
        argv = [os.path.abspath(__file__), "--stop"] + sys.argv[1:]
    else:
        test_dirs = find_tests()
        print("Testing {}".format(" ".join(test_dirs)))
        argv = [os.path.abspath(__file__), "--stop"] + test_dirs
    ret = nose.run_exit(argv=argv)
    sys.exit(ret)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: vatlab/SoS
Commit Name: e3b90cfc15d91e73a0a76c8b9c932fa4a7ac2ea1
Time: 2016-11-30
Author: ben.bog@gmail.com
File Name: test/run_tests.py
Class Name:
Method Name:


Project Name: PPPLDeepLearning/plasma-python
Commit Name: e322a26c7cb05e926c28193b2d7b6abd10daef8a
Time: 2017-01-11
Author: asvyatkovskiy@gmail.com
File Name: plasma/conf.py
Class Name:
Method Name:


Project Name: mindsdb/mindsdb
Commit Name: aef9015979e220163385767345a1defeab68ab8f
Time: 2020-10-19
Author: wzzhz13@gmail.com
File Name: distributions/windows/install.py
Class Name:
Method Name: