Author: Brian Kearns <[email protected]>
Branch:
Changeset: r60897:eecd3ad78b7a
Date: 2013-02-06 01:44 -0500
http://bitbucket.org/pypy/pypy/changeset/eecd3ad78b7a/
Log: CheckAllocation seems to work fine here
diff --git a/pypy/module/bz2/test/test_bz2_file.py
b/pypy/module/bz2/test/test_bz2_file.py
--- a/pypy/module/bz2/test/test_bz2_file.py
+++ b/pypy/module/bz2/test/test_bz2_file.py
@@ -6,6 +6,7 @@
import py
from pypy.interpreter.gateway import unwrap_spec, interp2app
+from pypy.module.bz2.test.support import CheckAllocation
if os.name == "nt":
@@ -50,10 +51,7 @@
mod.RANDOM_DATA = ''.join([s[int(random.random() * len(s))] for i in
range(30000)])
-class AppTestBZ2File: #(CheckAllocation):
- # XXX for unknown reasons, we cannot do allocation checks, as sth is
- # keeping those objects alive (BZ2File objects)
-
+class AppTestBZ2File(CheckAllocation):
spaceconfig = {
"usemodules": ["bz2", "binascii", "rctime"]
}
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit