Skip to content

Commit

Permalink
pythongh-107450: Fix testMemoryErrorBigSource using the bigmemtest de…
Browse files Browse the repository at this point in the history
…corator (pythonGH-110810)
  • Loading branch information
lysnikolaou authored Oct 13, 2023
1 parent 989a253 commit 2a68f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def baz():

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

Expand Down

0 comments on commit 2a68f77

Please sign in to comment.