[pypy-svn] r70039 - pypy/trunk/pypy/interpreter/test

arigo at codespeak.net arigo at codespeak.net
Thu Dec 10 14:16:12 CET 2009


Author: arigo
Date: Thu Dec 10 14:16:12 2009
New Revision: 70039

Modified:
   pypy/trunk/pypy/interpreter/test/test_module.py
Log:
Windows friendlyness.


Modified: pypy/trunk/pypy/interpreter/test/test_module.py
==============================================================================
--- pypy/trunk/pypy/interpreter/test/test_module.py	(original)
+++ pypy/trunk/pypy/interpreter/test/test_module.py	Thu Dec 10 14:16:12 2009
@@ -57,7 +57,8 @@
         import _pypy_interact # known to be in pypy/lib
         r = repr(_pypy_interact)
         assert r.startswith("<module '_pypy_interact' from ") and \
-               'pypy/lib/_pypy_interact.py' in r and \
+               ('pypy/lib/_pypy_interact.py' in r or
+                'pypy\\lib\\_pypy_interact.py' in r.lower()) and \
                r.endswith('>')
         nofile = type(_pypy_interact)('nofile', 'foo')
         assert repr(nofile) == "<module 'nofile' from ?>"



More information about the Pypy-commit mailing list