Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 453cd6b

Browse files
committed
use raw-string in test_prun_quotes
band-aid for ipython#1635
1 parent d2deb47 commit 453cd6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IPython/core/tests/test_magic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,5 +362,5 @@ def test_timeit_arguments():
362362
@dec.skipif(_ip.magic_prun == _ip.profile_missing_notice)
363363
def test_prun_quotes():
364364
"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'")
366366
nt.assert_equal(_ip.user_ns['x'], '\t')

0 commit comments

Comments
 (0)