[pypy-svn] r11476 - pypy/dist/lib-python-2.3.4/test
hpk at codespeak.net
hpk at codespeak.net
Tue Apr 26 14:58:06 CEST 2005
Author: hpk
Date: Tue Apr 26 14:58:05 2005
New Revision: 11476
Modified:
pypy/dist/lib-python-2.3.4/test/conftest.py
Log:
fix conftest and insert a new test type (not completed
yet, will do soon ...)
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 Tue Apr 26 14:58:05 2005
@@ -144,8 +144,17 @@
reportdiff(expected, result)
py.test.fail("output check failed: %s" % (self.fspath.basename,))
+class RunningModule(OpErrorModule):
+ def run(self):
+ return []
+ #return [self.fspath.purebasename]
+
+ #def join(self, name):
+ # name = self.fspath.purebasename
+ # space = getmyspace()
+ # run_file(str(self.fspath.join(name)), space=space)
-class UnknownTestModule(py.test.collect.Module):
+class UnknownTestModule(OpErrorModule):
def run(self):
py.test.skip("missing test type for: %s" %(self.fspath.basename))
@@ -311,7 +320,7 @@
'test_charmapcodec.py' : TestDecl(True, UTModuleMainTest),
'test_cl.py' : TestDecl(False, UnknownTestModule),
'test_class.py' : TestDecl(False, OutputTestModule),
- 'test_cmath.py' : TestDecl(False, UnknownTestModule),
+ 'test_cmath.py' : TestDecl(False, RunningModule),
'test_codeccallbacks.py' : TestDecl(False, UTModuleMainTest),
#rev 10840: Uncaught interp-level exception: Same place as test_cfgparser
More information about the Pypy-commit
mailing list