[pypy-svn] r11496 - pypy/dist/lib-python-2.3.4/test

hpk at codespeak.net hpk at codespeak.net
Wed Apr 27 00:52:50 CEST 2005


Author: hpk
Date: Wed Apr 27 00:52:50 2005
New Revision: 11496

Modified:
   pypy/dist/lib-python-2.3.4/test/conftest.py
Log:
fix construction of output-path to check against 



Modified: pypy/dist/lib-python-2.3.4/test/conftest.py
==============================================================================
--- pypy/dist/lib-python-2.3.4/test/conftest.py	(original)
+++ pypy/dist/lib-python-2.3.4/test/conftest.py	Wed Apr 27 00:52:50 2005
@@ -170,7 +170,7 @@
         to the expected output in the output/ directory. 
     """ 
     def run(self): 
-        outputpath = self.fspath.dirpath('output', self.name) 
+        outputpath = self.fspath.dirpath('output', self.fspath.purebasename) 
         if not outputpath.check(): 
             py.test.fail("expected outputfile at %s" %(outputpath,))
 



More information about the Pypy-commit mailing list