[pypy-svn] r35168 - pypy/dist/pypy/translator/cli/test
antocuni at codespeak.net
antocuni at codespeak.net
Thu Nov 30 16:55:58 CET 2006
Author: antocuni
Date: Thu Nov 30 16:55:57 2006
New Revision: 35168
Modified:
pypy/dist/pypy/translator/cli/test/test_dotnet.py
Log:
This issue has been resolved with the NativeException approach.
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 Nov 30 16:55:57 2006
@@ -183,18 +183,6 @@
res = self.interpret(fn, [])
assert res == 'System.Object'
- def test_exception(self):
- py.test.skip("It doesn't work so far")
- def fn():
- x = ArrayList()
- try:
- x.get_Item(0)
- except System.ArgumentOutOfRangeException:
- return 42
- else:
- return 43
- assert self.interpret(fn, []) == 42
-
def test_array(self):
def fn():
x = ArrayList()
More information about the Pypy-commit
mailing list