Author: Brian Kearns <[email protected]>
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)))
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to