##// END OF EJS Templates
use raw-string in test_prun_quotes...
MinRK -
Show More
@@ -362,5 +362,5 b' def test_timeit_arguments():'
362 @dec.skipif(_ip.magic_prun == _ip.profile_missing_notice)
362 @dec.skipif(_ip.magic_prun == _ip.profile_missing_notice)
363 def test_prun_quotes():
363 def test_prun_quotes():
364 "Test that prun does not clobber string escapes (GH #1302)"
364 "Test that prun does not clobber string escapes (GH #1302)"
365 _ip.magic("prun -q x = '\t'")
365 _ip.magic(r"prun -q x = '\t'")
366 nt.assert_equal(_ip.user_ns['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