summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLysandros Nikolaou <lisandrosnik@gmail.com>2023-10-13 08:30:56 (GMT)
committerGitHub <noreply@github.com>2023-10-13 08:30:56 (GMT)
commit2a68f77026417b3dc03635fa81da2dfa506f93c0 (patch)
tree5165a803f801b1b08d9faaf77707ad6b828e623c
parent989a2539472677ee0c6059c5afc925adb69059a6 (diff)
downloadcpython-2a68f77026417b3dc03635fa81da2dfa506f93c0.zip
cpython-2a68f77026417b3dc03635fa81da2dfa506f93c0.tar.gz
cpython-2a68f77026417b3dc03635fa81da2dfa506f93c0.tar.bz2
gh-107450: Fix testMemoryErrorBigSource using the bigmemtest decorator (GH-110810)
-rw-r--r--Lib/test/test_exceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py
index 5d69393..eafa7d8 100644
--- a/Lib/test/test_exceptions.py
+++ b/Lib/test/test_exceptions.py
@@ -320,7 +320,7 @@ class ExceptionTests(unittest.TestCase):
@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')")