[pypy-svn] r58054 - pypy/branch/pypy-pytrunk/pypy/tool/test

pedronis at codespeak.net pedronis at codespeak.net
Thu Sep 11 09:41:37 CEST 2008


Author: pedronis
Date: Thu Sep 11 09:41:35 2008
New Revision: 58054

Modified:
   pypy/branch/pypy-pytrunk/pypy/tool/test/test_pytestsupport.py
Log:
(iko, pedronis)

make pytestsupport tests pass again, notice that pytestsupport itself is stil using deprecated interfaces though

all the tool dir tests pass at least on 2.4



Modified: pypy/branch/pypy-pytrunk/pypy/tool/test/test_pytestsupport.py
==============================================================================
--- pypy/branch/pypy-pytrunk/pypy/tool/test/test_pytestsupport.py	(original)
+++ pypy/branch/pypy-pytrunk/pypy/tool/test/test_pytestsupport.py	Thu Sep 11 09:41:35 2008
@@ -117,7 +117,7 @@
     tdir = udir.ensure("t", dir=True)
     dest = tdir.join("test_expect.py")
     dest.write(source)
-    col = conftest.Module(dest)
+    col = conftest.Module(dest, config="dummy")
     result = col.run()
     assert len(result) == 1
 
@@ -138,7 +138,7 @@
     dest = udir.join("test_expect_safefilename.py")
     dest.write(source)
     from pypy import conftest
-    col = conftest.Module(dest)
+    col = conftest.Module(dest, config="dummy")
     methcol = col.join('ExpectTestOne').join('()').join('test_one')
     name = 'test_expect_safefilename_ExpectTestOne_paren_test_one.py'
     assert methcol.safe_filename() == name



More information about the Pypy-commit mailing list