Author: Maciej Fijalkowski <[email protected]>
Branch: refactor-signature
Changeset: r50534:c0dff290b339
Date: 2011-12-15 10:44 +0200
http://bitbucket.org/pypy/pypy/changeset/c0dff290b339/

Log:    an extra test just because

diff --git a/pypy/module/micronumpy/test/test_compile.py 
b/pypy/module/micronumpy/test/test_compile.py
--- a/pypy/module/micronumpy/test/test_compile.py
+++ b/pypy/module/micronumpy/test/test_compile.py
@@ -137,6 +137,16 @@
         interp = self.run(code)
         assert interp.results[0].value.value == 15
 
+    def test_sum2(self):
+        code = """
+        a = |30|
+        b = a + a
+        sum(b)
+        """
+        interp = self.run(code)
+        assert interp.results[0].value.value == 30 * (30 - 1)
+
+
     def test_array_write(self):
         code = """
         a = [1,2,3,4,5]
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to