[pypy-commit] pypy stdlib-2.7.4: fix test_marshal (no sys.getsizeof on pypy)
bdkearns
noreply at buildbot.pypy.org
Wed Apr 10 09:33:11 CEST 2013
Author: Brian Kearns <bdkearns at gmail.com>
Branch: stdlib-2.7.4
Changeset: r63196:4899736f152f
Date: 2013-04-10 03:32 -0400
http://bitbucket.org/pypy/pypy/changeset/4899736f152f/
Log: fix test_marshal (no sys.getsizeof on pypy)
diff --git a/lib-python/2.7/test/test_marshal.py b/lib-python/2.7/test/test_marshal.py
--- a/lib-python/2.7/test/test_marshal.py
+++ b/lib-python/2.7/test/test_marshal.py
@@ -245,13 +245,13 @@
self.check_unmarshallable([None] * size)
@test_support.precisionbigmemtest(size=LARGE_SIZE,
- memuse=pointer_size*12 + sys.getsizeof(LARGE_SIZE-1),
+ memuse=pointer_size*12, # + sys.getsizeof(LARGE_SIZE-1),
dry_run=False)
def test_set(self, size):
self.check_unmarshallable(set(range(size)))
@test_support.precisionbigmemtest(size=LARGE_SIZE,
- memuse=pointer_size*12 + sys.getsizeof(LARGE_SIZE-1),
+ memuse=pointer_size*12, # + sys.getsizeof(LARGE_SIZE-1),
dry_run=False)
def test_frozenset(self, size):
self.check_unmarshallable(frozenset(range(size)))
More information about the pypy-commit
mailing list