[pypy-commit] pypy py3.3: Add struct module to bz2 test classes' spaceconfig.

mjacob noreply at buildbot.pypy.org
Mon Jul 20 20:30:51 CEST 2015


Author: Manuel Jacob <me at manueljacob.de>
Branch: py3.3
Changeset: r78617:53daf5e5b539
Date: 2015-07-20 19:55 +0200
http://bitbucket.org/pypy/pypy/changeset/53daf5e5b539/

Log:	Add struct module to bz2 test classes' spaceconfig.

diff --git a/pypy/module/bz2/test/test_bz2_compdecomp.py b/pypy/module/bz2/test/test_bz2_compdecomp.py
--- a/pypy/module/bz2/test/test_bz2_compdecomp.py
+++ b/pypy/module/bz2/test/test_bz2_compdecomp.py
@@ -41,7 +41,7 @@
     interp_bz2.SMALLCHUNK = mod.OLD_SMALLCHUNK
 
 class AppTestBZ2Compressor(CheckAllocation):
-    spaceconfig = dict(usemodules=('bz2', 'time'))
+    spaceconfig = dict(usemodules=('bz2', 'time', 'struct'))
 
     def setup_class(cls):
         cls.w_TEXT = cls.space.wrapbytes(TEXT)
@@ -117,7 +117,7 @@
 
 
 class AppTestBZ2Decompressor(CheckAllocation):
-    spaceconfig = dict(usemodules=('bz2', 'time'))
+    spaceconfig = dict(usemodules=('bz2', 'time', 'struct'))
 
     def setup_class(cls):
         cls.w_TEXT = cls.space.wrapbytes(TEXT)


More information about the pypy-commit mailing list