4bc7c41914a31d157c7dcbb25fdef07ce0e69077,hyperspy/tests/io/test_empad.py,,teardown_module,#,27
Before Change
def teardown_module():
if os.path.exists(FILENAME_STACK_RAW):
os.remove(FILENAME_STACK_RAW)
if os.path.exists(FILENAME_MAP_RAW):
os.remove(FILENAME_MAP_RAW)
After Change
try:
os.remove(f)
except Exception as e:
print(e)
@pytest.mark.parametrize("lazy", (False, True))
def test_read_stack(lazy):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: hyperspy/hyperspy
Commit Name: 4bc7c41914a31d157c7dcbb25fdef07ce0e69077
Time: 2020-09-02
Author: tjof2@cam.ac.uk
File Name: hyperspy/tests/io/test_empad.py
Class Name:
Method Name: teardown_module
Project Name: daniellerch/aletheia
Commit Name: 1bcad437d2c1b57d582b893427bd53cd90eeafbf
Time: 2019-05-12
Author: dlerch@gmail.com
File Name: aletheia/feaext.py
Class Name:
Method Name: extract_features
Project Name: cve-search/cve-search
Commit Name: 0a2d147d858fc27a17e047b5b30abe4a8fd07c35
Time: 2015-10-24
Author: pieterjan.moreels@gmail.com
File Name: lib/cpelist.py
Class Name: CPEList
Method Name: remove
Project Name: sassoftware/python-dlpy
Commit Name: 965277c1763c0d65f1de2fe00f8a617b44fe9804
Time: 2019-04-01
Author: docair@dlgrd008.unx.sas.com
File Name: dlpy/model_conversion/sas_caffe_parse.py
Class Name:
Method Name: caffe_to_sas