##// END OF EJS Templates
Merge pull request #11773 from eobrie16/test_timeit...
Matthias Bussonnier -
r25070:5bcd244b merge
parent child Browse files
Show More
@@ -1165,8 +1165,8 b' def test_time_no_var_expand():'
1165 1165 def test_timeit_arguments():
1166 1166 "Test valid timeit arguments, should not cause SyntaxError (GH #1269)"
1167 1167 if sys.version_info < (3,7):
1168 _ip.magic("timeit ('#')")
1168 _ip.magic("timeit -n1 -r1 ('#')")
1169 1169 else:
1170 1170 # 3.7 optimize no-op statement like above out, and complain there is
1171 1171 # nothing in the for loop.
1172 _ip.magic("timeit a=('#')")
1172 _ip.magic("timeit -n1 -r1 a=('#')")
General Comments 0
You need to be logged in to leave comments. Login now