Commit ec50cb29 authored by Serhiy Storchaka's avatar Serhiy Storchaka

Fix tests for issue #5308.

parent 8d7d6bcc
......@@ -282,13 +282,13 @@ class LargeValuesTestCase(unittest.TestCase):
self.assertRaises(ValueError, marshal.dump, data, f)
@test_support.precisionbigmemtest(size=LARGE_SIZE, memuse=1, dry_run=False)
def test_bytes(self, size):
self.check_unmarshallable(b'x' * size)
def test_string(self, size):
self.check_unmarshallable('x' * size)
@test_support.precisionbigmemtest(size=LARGE_SIZE,
memuse=character_size, dry_run=False)
def test_str(self, size):
self.check_unmarshallable('x' * size)
def test_unicode(self, size):
self.check_unmarshallable(u'x' * size)
@test_support.precisionbigmemtest(size=LARGE_SIZE,
memuse=pointer_size, dry_run=False)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment