From a3533168bfdb67ba8f76afd218645a09e0c4c7e0 2012-06-11 18:40:02 From: Jörgen Stenarson Date: 2012-06-11 18:40:02 Subject: [PATCH] Fix for #1908, use os.path.normcase for safe filename comparisons --- diff --git a/IPython/core/tests/test_oinspect.py b/IPython/core/tests/test_oinspect.py index f4f6e1a..c10fa5d 100644 --- a/IPython/core/tests/test_oinspect.py +++ b/IPython/core/tests/test_oinspect.py @@ -58,7 +58,7 @@ def pyfile(fname): def match_pyfiles(f1, f2): - nt.assert_equal(pyfile(f1), pyfile(f2)) + nt.assert_equal(os.path.normcase(pyfile(f1)), os.path.normcase(pyfile(f2))) def test_find_file():