[pypy-commit] pypy refactor-signature: fixed tests (ugly!)

alex_gaynor noreply at buildbot.pypy.org
Tue Dec 20 00:27:48 CET 2011


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: refactor-signature
Changeset: r50732:6b7fcfaea904
Date: 2011-12-19 17:27 -0600
http://bitbucket.org/pypy/pypy/changeset/6b7fcfaea904/

Log:	fixed tests (ugly!)

diff --git a/pypy/module/micronumpy/test/test_ztranslation.py b/pypy/module/micronumpy/test/test_ztranslation.py
--- a/pypy/module/micronumpy/test/test_ztranslation.py
+++ b/pypy/module/micronumpy/test/test_ztranslation.py
@@ -1,5 +1,8 @@
-
+from pypy.module.micronumpy import signature
 from pypy.objspace.fake.checkmodule import checkmodule
 
 def test_numpy_translates():
+    # XXX: If there are signatures floating around this might explode. This fix
+    # is ugly.
+    signature.known_sigs.clear()
     checkmodule('micronumpy')


More information about the pypy-commit mailing list