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

antocuni at codespeak.net antocuni at codespeak.net
Thu Aug 9 11:35:06 CEST 2007


Author: antocuni
Date: Thu Aug  9 11:35:05 2007
New Revision: 45565

Modified:
   pypy/dist/pypy/translator/cli/test/test_dotnet.py
Log:
remove the last references to the killed USE_LAST flag.



Modified: pypy/dist/pypy/translator/cli/test/test_dotnet.py
==============================================================================
--- pypy/dist/pypy/translator/cli/test/test_dotnet.py	(original)
+++ pypy/dist/pypy/translator/cli/test/test_dotnet.py	Thu Aug  9 11:35:05 2007
@@ -174,11 +174,6 @@
     def _skip_pythonnet(self, msg):
         pass
 
-    def _skip_exception(self):
-        from pypy.translator.cli import function
-        if function.USE_LAST:
-            py.test.skip("Fixme!")
-
     def test_staticmeth_call(self):
         def fn(x):
             return Math.Abs(x)
@@ -292,7 +287,6 @@
         assert self.interpret(fn, []) is None
 
     def test_native_exception_precise(self):
-        self._skip_exception()
         ArgumentOutOfRangeException = NativeException(CLR.System.ArgumentOutOfRangeException)
         def fn():
             x = ArrayList()
@@ -304,7 +298,6 @@
         assert self.interpret(fn, []) == True
 
     def test_native_exception_superclass(self):
-        self._skip_exception()
         SystemException = NativeException(CLR.System.Exception)
         def fn():
             x = ArrayList()
@@ -316,7 +309,6 @@
         assert self.interpret(fn, []) == True
 
     def test_native_exception_object(self):
-        self._skip_exception()
         SystemException = NativeException(CLR.System.Exception)
         def fn():
             x = ArrayList()
@@ -330,7 +322,6 @@
         assert res.startswith("Index is less than 0")
 
     def test_native_exception_invoke(self):
-        self._skip_exception()
         TargetInvocationException = NativeException(CLR.System.Reflection.TargetInvocationException)
         def fn():
             x = ArrayList()



More information about the Pypy-commit mailing list