[pypy-svn] r12922 - pypy/dist/pypy/rpython/test

ericvrp at codespeak.net ericvrp at codespeak.net
Tue May 31 15:02:30 CEST 2005


Author: ericvrp
Date: Tue May 31 15:02:29 2005
New Revision: 12922

Modified:
   pypy/dist/pypy/rpython/test/test_rbool.py
   pypy/dist/pypy/rpython/test/test_rfloat.py
   pypy/dist/pypy/rpython/test/test_rint.py
Log:
fixed typos in tests


Modified: pypy/dist/pypy/rpython/test/test_rbool.py
==============================================================================
--- pypy/dist/pypy/rpython/test/test_rbool.py	(original)
+++ pypy/dist/pypy/rpython/test/test_rbool.py	Tue May 31 15:02:29 2005
@@ -11,13 +11,15 @@
         t.annotate(types)
         typer = RPythonTyper(t.annotator)
         typer.specialize()
-        t.checkgraphs()    
+        t.checkgraphs()  
+        #if func == snippet.bool_cast1:
+        #    t.view()
 
     def test_not1(self):
-        self._test(snippet.not1, [int])
+        self._test(snippet.not1, [bool])
 
     def test_not2(self):
-        self._test(snippet.not2, [int])
+        self._test(snippet.not2, [bool])
 
     def test_bool1(self):
         self._test(snippet.bool1, [bool])

Modified: pypy/dist/pypy/rpython/test/test_rfloat.py
==============================================================================
--- pypy/dist/pypy/rpython/test/test_rfloat.py	(original)
+++ pypy/dist/pypy/rpython/test/test_rfloat.py	Tue May 31 15:02:29 2005
@@ -12,12 +12,14 @@
         typer = RPythonTyper(t.annotator)
         typer.specialize()
         t.checkgraphs() 
+        #if func == snippet.float_cast1:
+        #    t.view()
 
     def test_not1(self):
-        self._test(snippet.not1, [int])
+        self._test(snippet.not1, [float])
 
     def test_not2(self):
-        self._test(snippet.not2, [int])
+        self._test(snippet.not2, [float])
 
     def test_float1(self):
         self._test(snippet.float1, [float])

Modified: pypy/dist/pypy/rpython/test/test_rint.py
==============================================================================
--- pypy/dist/pypy/rpython/test/test_rint.py	(original)
+++ pypy/dist/pypy/rpython/test/test_rint.py	Tue May 31 15:02:29 2005
@@ -12,6 +12,8 @@
         typer = RPythonTyper(t.annotator)
         typer.specialize()
         t.checkgraphs() 
+        #if func == snippet.int_cast1:
+        #    t.view()
     
     def test_not1(self):
         self._test(snippet.not1, [int])



More information about the Pypy-commit mailing list