Commits

Brian Kearns committed 4899736

fix test_marshal (no sys.getsizeof on pypy)

  • Participants
  • Parent commits f0ec8a1
  • Branches stdlib-2.7.4

Comments (0)

Files changed (1)

File lib-python/2.7/test/test_marshal.py

         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)))