[pypy-svn] r46059 - pypy/branch/pypy-more-rtti-inprogress/translator/oosupport/test_template
antocuni at codespeak.net
antocuni at codespeak.net
Mon Aug 27 20:41:36 CEST 2007
Author: antocuni
Date: Mon Aug 27 20:41:36 2007
New Revision: 46059
Modified:
pypy/branch/pypy-more-rtti-inprogress/translator/oosupport/test_template/operations.py
Log:
forgot to checkin this
Modified: pypy/branch/pypy-more-rtti-inprogress/translator/oosupport/test_template/operations.py
==============================================================================
--- pypy/branch/pypy-more-rtti-inprogress/translator/oosupport/test_template/operations.py (original)
+++ pypy/branch/pypy-more-rtti-inprogress/translator/oosupport/test_template/operations.py Mon Aug 27 20:41:36 2007
@@ -199,3 +199,9 @@
return 0
assert self.interpret(f, [5]) == 0
+ def test_ullong_rshift(self):
+ def f(x):
+ return x >> 1
+ x = sys.maxint+1
+ assert self.interpret(f, [r_ulonglong(x)]) == x >> 1
+
More information about the Pypy-commit
mailing list