diff --git a/IPython/core/tests/test_oinspect.py b/IPython/core/tests/test_oinspect.py index f4f6e1a..930ee35 100644 --- a/IPython/core/tests/test_oinspect.py +++ b/IPython/core/tests/test_oinspect.py @@ -54,7 +54,7 @@ def test_find_source_lines(): # A couple of utilities to ensure these tests work the same from a source or a # binary install def pyfile(fname): - return re.sub('.py[co]$', '.py', fname) + return os.path.normcase(re.sub('.py[co]$', '.py', fname)) def match_pyfiles(f1, f2):