MCPcopy Create free account
hub / github.com/ipython/ipython / pyfile

Function pyfile

IPython/core/tests/test_oinspect.py:54–55  ·  view source on GitHub ↗
(fname)

Source from the content-addressed store, hash-verified

52# A couple of utilities to ensure these tests work the same from a source or a
53# binary install
54def pyfile(fname):
55 return os.path.normcase(re.sub('.py[co]$', '.py', fname))
56
57
58def match_pyfiles(f1, f2):

Callers 1

match_pyfilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected