From d7ed284844c3ae7c406cef7a11e9aec58b520691 Mon Sep 17 00:00:00 2001 From: Lysandros Nikolaou Date: Fri, 13 Oct 2023 10:00:41 +0200 Subject: [PATCH] gh-107450: Fix testMemoryErrorBigSource using the bigmemtest decorator --- 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 5d693939962e1f..eafa7d84638b76 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -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')")