68b64f050901cb96e492b4346359ad0c078ac6c2,src/python/pants/backend/python/tasks2/pytest_run.py,PytestRun,_conftest,#PytestRun#Any#,367
Before Change
shutil.copy(conftest, conftest_orig)
with open(conftest_orig) as fp:
orig_conftest_content = fp.read()
conftest_content = orig_conftest_content + conftest_content
try:
// Temporarily violate invariant 2!
with open(conftest, "w") as fp:
After Change
conftest = os.path.join(conftest_dir, "conftest.py")
with open(conftest, "w") as fp:
fp.write(conftest_content)
yield conftest
@contextmanager
def _test_runner(self, targets, sources_map):
pex_info = PexInfo.default()
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: pantsbuild/pants
Commit Name: 68b64f050901cb96e492b4346359ad0c078ac6c2
Time: 2017-04-21
Author: benjyw@gmail.com
File Name: src/python/pants/backend/python/tasks2/pytest_run.py
Class Name: PytestRun
Method Name: _conftest
Project Name: tensorlayer/tensorlayer
Commit Name: f2073333b710a340403843763ba60eb1e6699916
Time: 2019-04-11
Author: rundi_wu@pku.edu.cn
File Name: examples/data_process/tutorial_tfrecord.py
Class Name:
Method Name: read_and_decode
Project Name: tensorlayer/tensorlayer
Commit Name: f2073333b710a340403843763ba60eb1e6699916
Time: 2019-04-11
Author: rundi_wu@pku.edu.cn
File Name: examples/data_process/tutorial_tfrecord2.py
Class Name:
Method Name: read_and_decode
Project Name: dask/distributed
Commit Name: ed2adf554fc818ec8d4d5a6eac393dcd033e023c
Time: 2018-05-16
Author: bmaisonn@gmail.com
File Name: distributed/tests/test_worker.py
Class Name:
Method Name: test_upload_egg