[pypy-svn] r39826 - pypy/dist/pypy/translator/cli/test
antocuni at codespeak.net
antocuni at codespeak.net
Sat Mar 3 17:29:23 CET 2007
Author: antocuni
Date: Sat Mar 3 17:29:21 2007
New Revision: 39826
Modified:
pypy/dist/pypy/translator/cli/test/test_dotnet.py
Log:
this has been forgot in my wd for ages...
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 Sat Mar 3 17:29:21 2007
@@ -242,6 +242,13 @@
return unbox(x[0], ootype.Signed) + unbox(x[1], ootype.Signed)
assert self.interpret(fn, []) == 42+43
+ def test_array_setitem_None(self):
+ def fn():
+ x = init_array(System.Object, box(42), box(43))
+ x[0] = None
+ return x[0]
+ assert self.interpret(fn, []) is None
+
def test_array_length(self):
def fn():
x = init_array(System.Object, box(42), box(43))
More information about the pypy-svn
mailing list