##// END OF EJS Templates
test for #1302
Paul Ivanov -
Show More
@@ -358,3 +358,9 b' def test_timeit_shlex():'
358 def test_timeit_arguments():
358 def test_timeit_arguments():
359 "Test valid timeit arguments, should not cause SyntaxError (GH #1269)"
359 "Test valid timeit arguments, should not cause SyntaxError (GH #1269)"
360 _ip.magic("timeit ('#')")
360 _ip.magic("timeit ('#')")
361
362 @dec.skipif(_ip.magic_prun == _ip.profile_missing_notice)
363 def test_prun_quotes():
364 "Test that prun does not clobber string escapes (GH #1302)"
365 _ip.magic("prun -q x = '\t'")
366 nt.assert_equal(_ip.user_ns['x'], '\t')
General Comments 0
You need to be logged in to leave comments. Login now