deb64d5510f1e10fbe21edb511eb3ec698d95bf0,tests/old_suite/import/test_onefile_c_extension.py,,,#,22

Before Change




modpath = os.path.join(sys.prefix, "simplejson._speedups")
frozen_modpath = os.path.splitext(_speedups.__file__)[0]


print(("Module path expected: " + modpath))
print(("Module path  current: " + frozen_modpath))

After Change


modpath = os.path.join(sys.prefix, "simplejson._speedups")
frozen_modpath = _speedups.__file__

print("Module path expected:", modpath, "+ ext", file=sys.stderr)
print("Module path  current:", frozen_modpath, file=sys.stderr)

// In Python3, filename extensions can include several dots (e.g.
// ".cpython-33m.so"), so we can not simply use os.path.splitext(), but
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: pyinstaller/pyinstaller
Commit Name: deb64d5510f1e10fbe21edb511eb3ec698d95bf0
Time: 2015-07-30
Author: h.goebel@crazy-compilers.com
File Name: tests/old_suite/import/test_onefile_c_extension.py
Class Name:
Method Name:


Project Name: nipy/dipy
Commit Name: 749855e9d1b5bd1aa7b46db144503922fbc0a336
Time: 2013-08-06
Author: matthieu.dumont@usherbrooke.ca
File Name: doc/examples/brain_extraction_dwi.py
Class Name:
Method Name:


Project Name: pyinstaller/pyinstaller
Commit Name: deb64d5510f1e10fbe21edb511eb3ec698d95bf0
Time: 2015-07-30
Author: h.goebel@crazy-compilers.com
File Name: tests/old_suite/import/test_c_extension.py
Class Name:
Method Name:


Project Name: NVIDIA/sentiment-discovery
Commit Name: bfebb3f586ce9e7d6d14c45329ef651d48a01d03
Time: 2018-11-21
Author: raulp@nvidia.com
File Name: new_main.py
Class Name:
Method Name: main