876beccb8fa2bb91133aa5214d16b98fd279047f,lib/matplotlib/tests/__init__.py,,,#,5
Before Change
// Check that the test directories exist
if not os.path.exists(os.path.join(
os.path.dirname(__file__), "baseline_images")):
raise IOError(
"The baseline image directory does not exist. "
"This is most likely because the test data is not installed. "
After Change
// Check that the test directories exist.
if not (Path(__file__).parent / "baseline_images").exists():
raise IOError(
"The baseline image directory does not exist. "
"This is most likely because the test data is not installed. "
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 12
Instances
Project Name: matplotlib/matplotlib
Commit Name: 876beccb8fa2bb91133aa5214d16b98fd279047f
Time: 2018-12-10
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/tests/__init__.py
Class Name:
Method Name:
Project Name: J535D165/recordlinkage
Commit Name: cba3992c51d4484656983fb7018455a44586691e
Time: 2019-07-12
Author: jonathandebruinos@gmail.com
File Name: recordlinkage/datasets/external.py
Class Name:
Method Name: load_krebsregister
Project Name: matplotlib/matplotlib
Commit Name: 876beccb8fa2bb91133aa5214d16b98fd279047f
Time: 2018-12-10
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/tests/__init__.py
Class Name:
Method Name:
Project Name: matplotlib/matplotlib
Commit Name: 52136a7dda72978004f6af8e90e9ebe7596c27b8
Time: 2019-11-26
Author: anntzer.lee@gmail.com
File Name: lib/mpl_toolkits/tests/__init__.py
Class Name:
Method Name: