summaryrefslogtreecommitdiff
path: root/tests/run/test_fstring.pyx
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2016-03-21 18:33:40 +0100
committerStefan Behnel <stefan_ml@behnel.de>2016-03-21 18:33:40 +0100
commit87c4aa256d2b78437f5e6c937188fafa6d134c85 (patch)
tree1650efd1b838122a81842e114c5cd0c2f6b858d3 /tests/run/test_fstring.pyx
parente4c7e9f27877ac36c44e88cf62b70ffa2cbfb2da (diff)
downloadcython-87c4aa256d2b78437f5e6c937188fafa6d134c85.tar.gz
shorten test that takes excessively long to compile (with gcc)
Diffstat (limited to 'tests/run/test_fstring.pyx')
-rw-r--r--tests/run/test_fstring.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run/test_fstring.pyx b/tests/run/test_fstring.pyx
index 17a30092f..b29bd3c9a 100644
--- a/tests/run/test_fstring.pyx
+++ b/tests/run/test_fstring.pyx
@@ -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)