Author: Armin Rigo <[email protected]>
Branch: py3.5-newtext
Changeset: r90149:11c131a2deee
Date: 2017-02-15 13:36 +0100
http://bitbucket.org/pypy/pypy/changeset/11c131a2deee/

Log:    move this line at the right place

diff --git a/pypy/module/struct/test/test_struct.py 
b/pypy/module/struct/test/test_struct.py
--- a/pypy/module/struct/test/test_struct.py
+++ b/pypy/module/struct/test/test_struct.py
@@ -539,6 +539,7 @@
         self.struct.pack_into(b"ii", b, 0, 45, 56)
         self.struct.unpack(b"ii", b"X" * 8)
         assert self.struct.unpack_from(b"ii", b) == (45, 56)
+        self.struct.Struct(b"ii")
 
 
 class AppTestStructBuffer(object):
@@ -571,7 +572,6 @@
         assert self.struct.unpack_from("ii", b, 2) == (17, 42)
         b[:sz] = self.struct.pack("ii", 18, 43)
         assert self.struct.unpack_from("ii", b) == (18, 43)
-        self.struct.Struct(b"ii")
 
 
 class AppTestFastPath(object):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to