Skip to content

Commit 2a68f77

Browse files
authored
gh-107450: Fix testMemoryErrorBigSource using the bigmemtest decorator (GH-110810)
1 parent 989a253 commit 2a68f77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_exceptions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def baz():
320320

321321
@support.requires_resource('cpu')
322322
@support.bigmemtest(support._2G, memuse=1.5)
323-
def testMemoryErrorBigSource(self):
323+
def testMemoryErrorBigSource(self, _size):
324324
with self.assertRaises(OverflowError):
325325
exec(f"if True:\n {' ' * 2**31}print('hello world')")
326326

0 commit comments

Comments
 (0)