Author: Antonio Cuni <[email protected]>
Branch: faster-rstruct-2
Changeset: r91330:0265fea70804
Date: 2017-05-18 11:36 +0200
http://bitbucket.org/pypy/pypy/changeset/0265fea70804/

Log:    ouch, this was plainly wrong, as it overwrote the correct
        teardown_method just above

diff --git a/rpython/rlib/rstruct/test/test_pack.py 
b/rpython/rlib/rstruct/test/test_pack.py
--- a/rpython/rlib/rstruct/test/test_pack.py
+++ b/rpython/rlib/rstruct/test/test_pack.py
@@ -53,12 +53,6 @@
         standardfmttable.USE_FASTPATH = True
         standardfmttable.ALLOW_SLOWPATH = True
 
-    def teardown_method(self, meth):
-        if not hasattr(self.fmttable, 'USE_FASTPATH'):
-            return
-        self.fmttable.USE_FASTPATH = self.orig_use_fastpath
-        self.fmttable.ALLOW_SLOWPATH = self.orig_allow_slowpath
-
     def mypack(self, fmt, value):
         size = struct.calcsize(fmt)
         fake_fmtiter = FakeFormatIter(self.bigendian, size, value)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to