From 71f96739b79f0a3756fedb7ea730a966cc4a0296 2012-06-11 20:16:01 From: Jörgen Stenarson Date: 2012-06-11 20:16:01 Subject: [PATCH] Switch to raw string to match typing at prompt --- diff --git a/IPython/core/tests/test_magic.py b/IPython/core/tests/test_magic.py index bd0ba77..4ae9afd 100644 --- a/IPython/core/tests/test_magic.py +++ b/IPython/core/tests/test_magic.py @@ -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():