From 2a68f77026417b3dc03635fa81da2dfa506f93c0 Mon Sep 17 00:00:00 2001 From: Lysandros Nikolaou Date: Fri, 13 Oct 2023 10:30:56 +0200 Subject: gh-107450: Fix testMemoryErrorBigSource using the bigmemtest decorator (GH-110810) --- Lib/test/test_exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')") -- cgit v0.12