f95bfcff9951a3717e323abc90c4094fdf3f98db,devtools/conda-recipe/run_test.py,,,#,7

Before Change


junit_xml = os.path.join(os.getenv("CIRCLE_TEST_REPORTS", "."), "junit.xml")

if os.getenv("CONDA_BUILD", False):
    if os.getenv("CIRCLECI", False):
        pytest_dir = os.path.join(os.path.expanduser("~"), os.getenv("CIRCLE_PROJECT_REPONAME"))
        pytest_cfg = os.path.join(pytest_dir, "setup.cfg")
    else:
        pytest_dir = os.path.join(os.getenv("RECIPE_DIR"), "../..")
        pytest_cfg = os.path.join(pytest_dir, "setup.cfg")
else:
    pytest_cfg = os.path.join(os.path.dirname(os.path.abspath(__file__)), "../../setup.cfg")
print("Using pytest config file: %s" % pytest_cfg)

After Change


else:
    pytest_cfg = os.path.join(os.path.dirname(os.path.abspath(__file__)), "../../setup.cfg")
print("Using pytest config file: %s" % pytest_cfg)
assert os.path.exists(pytest_cfg), "pytest cfg not found"

// chdir to an path outside of conda-bld, which is known to persist the build phase
run_dir = tempfile.mkdtemp()
os.chdir(run_dir)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: markovmodel/PyEMMA
Commit Name: f95bfcff9951a3717e323abc90c4094fdf3f98db
Time: 2017-01-05
Author: m.scherer@fu-berlin.de
File Name: devtools/conda-recipe/run_test.py
Class Name:
Method Name:


Project Name: markovmodel/PyEMMA
Commit Name: f95bfcff9951a3717e323abc90c4094fdf3f98db
Time: 2017-01-05
Author: m.scherer@fu-berlin.de
File Name: devtools/conda-recipe/run_test.py
Class Name:
Method Name:


Project Name: mne-tools/mne-python
Commit Name: d91f99f56e4beb80808f396b4404f5434bedae8e
Time: 2018-08-29
Author: larson.eric.d@gmail.com
File Name: mne/tests/test_dipole.py
Class Name:
Method Name: test_dipole_fitting


Project Name: markovmodel/PyEMMA
Commit Name: 9f702af04dbf97de6c7e4733a7d7f84a630473ff
Time: 2017-01-05
Author: m.scherer@fu-berlin.de
File Name: devtools/conda-recipe/run_test.py
Class Name:
Method Name: