From 61d36f3bcbb50da5d33cf6c614859925e27f6abd Mon Sep 17 00:00:00 2001 From: Tim Hochberg Date: Thu, 12 Oct 2006 19:16:55 +0000 Subject: Under Python 2.5 on windows test_multiarray was failing mysteriously. Applying normpath to set_local_path cured that. --- numpy/testing/numpytest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/testing/numpytest.py') diff --git a/numpy/testing/numpytest.py b/numpy/testing/numpytest.py index 74b7c1a1e..5f4ceef17 100644 --- a/numpy/testing/numpytest.py +++ b/numpy/testing/numpytest.py @@ -69,7 +69,7 @@ def set_local_path(reldir='', level=1): testfile = sys.argv[0] else: testfile = f.f_locals['__file__'] - local_path = os.path.join(os.path.dirname(os.path.abspath(testfile)),reldir) + local_path = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(testfile)),reldir)) if DEBUG: print 'Inserting %r to sys.path' % (local_path) sys.path.insert(0,local_path) -- cgit v1.2.1