Commit 87c4aa25 authored by Stefan Behnel's avatar Stefan Behnel

shorten test that takes excessively long to compile (with gcc)

parent e4c7e9f2
......@@ -248,7 +248,7 @@ f'{a * x()}'"""
self.assertEqual(cy_eval(build_fstr(i), x=x, width=width), (x+' ')*i)
# Test concatenating 2 largs fstrings.
self.assertEqual(cy_eval(build_fstr(255)*256, x=x, width=width), (x+' ')*(255*256))
self.assertEqual(cy_eval(build_fstr(255)*2, x=x, width=width), (x+' ')*(255*2)) # CPython uses 255*256
s = build_fstr(253, '{x:{width}} ')
self.assertEqual(cy_eval(s, x=x, width=width), (x+' ')*254)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment