We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb3e082 commit fc08e60Copy full SHA for fc08e60
Lib/test/test_largefile.py
@@ -45,7 +45,8 @@ def tearDownClass(cls):
45
raise cls.failureException('File was not truncated by opening '
46
'with mode "wb"')
47
48
- def test_large_read(self):
+ @bigmemtest(size=_2G, memuse=1)
49
+ def test_large_read(self, _size):
50
# bpo-24658: Test that a read greater than 2GB does not fail.
51
with self.open(TESTFN, "rb") as f:
52
self.assertEqual(len(f.read()), size + 1)
0 commit comments