[pypy-commit] pypy default: woops, fix test

cfbolz noreply at buildbot.pypy.org
Wed Jul 17 23:04:26 CEST 2013


Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Branch: 
Changeset: r65450:0b3500b8e331
Date: 2013-07-17 21:27 +0200
http://bitbucket.org/pypy/pypy/changeset/0b3500b8e331/

Log:	woops, fix test

diff --git a/rpython/rlib/test/test_rbigint.py b/rpython/rlib/test/test_rbigint.py
--- a/rpython/rlib/test/test_rbigint.py
+++ b/rpython/rlib/test/test_rbigint.py
@@ -518,9 +518,9 @@
 
     def test_format_caching(self):
         big = rbigint.fromlong(2 ** 1000)
-        rbigint.pow = None
         res1 = big.str()
         oldpow = rbigint.__dict__['pow']
+        rbigint.pow = None
         # make sure pow is not used the second time
         try:
             res2 = big.str()


More information about the pypy-commit mailing list