Skip to content

Commit

Permalink
Switch to raw string to match typing at prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
jstenar committed Jun 11, 2012
1 parent 2287b38 commit 71f9673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IPython/core/tests/test_magic.py
Expand Up @@ -453,7 +453,7 @@ def test_timeit_arguments():
@dec.skipif(execution.profile is None)
def test_prun_quotes():
"Test that prun does not clobber string escapes (GH #1302)"
_ip.magic("prun -q x = '\t'")
_ip.magic(r"prun -q x = '\t'")
nt.assert_equal(_ip.user_ns['x'], '\t')

def test_extension():
Expand Down

0 comments on commit 71f9673

Please sign in to comment.