[pypy-svn] r28461 - pypy/dist/pypy/translator/cli/test

antocuni at codespeak.net antocuni at codespeak.net
Wed Jun 7 17:05:33 CEST 2006


Author: antocuni
Date: Wed Jun  7 17:05:33 2006
New Revision: 28461

Added:
   pypy/dist/pypy/translator/cli/test/test_class.py   (contents, props changed)
Modified:
   pypy/dist/pypy/translator/cli/test/runtest.py
Log:
Some more gencli tests. Some of them don't pass, yet.



Modified: pypy/dist/pypy/translator/cli/test/runtest.py
==============================================================================
--- pypy/dist/pypy/translator/cli/test/runtest.py	(original)
+++ pypy/dist/pypy/translator/cli/test/runtest.py	Wed Jun  7 17:05:33 2006
@@ -242,3 +242,6 @@
 
     def class_name(self, value):
         return value.class_name.split(".")[-1] 
+
+    def is_of_instance_type(self, val):
+        return isinstance(val, InstanceWrapper)

Added: pypy/dist/pypy/translator/cli/test/test_class.py
==============================================================================
--- (empty file)
+++ pypy/dist/pypy/translator/cli/test/test_class.py	Wed Jun  7 17:05:33 2006
@@ -0,0 +1,6 @@
+import py
+from pypy.translator.cli.test.runtest import CliTest
+from pypy.rpython.test.test_rclass import BaseTestRclass
+
+class TestCliClass(CliTest, BaseTestRclass):
+    pass



More information about the Pypy-commit mailing list