19a39999ccdb247f01909c2848b381d391ef621b,tests/predict/test_predict.py,PredictorClassTest,setUpClass,#Any#,14
Before Change
@classmethod
def setUpClass(cls):
logging.disable(logging.CRITICAL)
cls.setup = yaml.load(open(os.path.join("tests", "data", "config.yml"), "r"))
cls.RDN = RDN(arch_params=cls.setup["rdn"], patch_size=cls.setup["patch_size"])
def fake_folders(kind):
After Change
cls.invalid_files = cls.temp_data / "invalid_files"
cls.invalid_files.mkdir(parents=True, exist_ok=True)
for item in ["data2.gif", "data.data", "data02"]:
(cls.invalid_files / item).touch()
def nullifier(*args):
pass
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: idealo/image-super-resolution
Commit Name: 19a39999ccdb247f01909c2848b381d391ef621b
Time: 2019-04-02
Author: testadicardi@gmail.com
File Name: tests/predict/test_predict.py
Class Name: PredictorClassTest
Method Name: setUpClass
Project Name: deepmipt/DeepPavlov
Commit Name: dfa0c1f47a6920ebe0efde372f5aee07284f2f68
Time: 2017-12-29
Author: yoptar@gmail.com
File Name: deeppavlov/core/data/utils.py
Class Name:
Method Name: mark_done
Project Name: pantsbuild/pants
Commit Name: 0f4d5b5c067ac7c5b9023d25dbb743b0470ef65a
Time: 2012-02-16
Author: jsirois@twitter.com
File Name: tests/python/twitter/pants/base/test_build_file.py
Class Name: BuildFileTest
Method Name: touch