8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31a83dc commit 47c50aaCopy full SHA for 47c50aa
Lib/test/test_fstring.py
@@ -627,7 +627,8 @@ def test_mismatched_parens(self):
627
r"does not match opening parenthesis '\('",
628
["f'{a(4}'",
629
])
630
- self.assertRaises(SyntaxError, eval, "f'{" + "("*500 + "}'")
+ self.assertRaises(SyntaxError, eval, "f'{" + "("*100 + "}'")
631
+ self.assertRaises(MemoryError, eval, "f'{" + "("*500 + "}'")
632
633
@unittest.skipIf(support.is_wasi, "exhausts limited stack on WASI")
634
def test_fstring_nested_too_deeply(self):
0 commit comments