MCPcopy Create free account
hub / github.com/ipython/ipython / test_prun_quotes

Function test_prun_quotes

IPython/core/tests/test_magic.py:709–712  ·  view source on GitHub ↗

Test that prun does not clobber string escapes (GH #1302)

()

Source from the content-addressed store, hash-verified

707
708@dec.skipif(execution.profile is None)
709def test_prun_quotes():
710 "Test that prun does not clobber string escapes (GH #1302)"
711 _ip.magic(r"prun -q x = '\t'")
712 nt.assert_equal(_ip.user_ns['x'], '\t')
713
714def test_extension():
715 # Debugging information for failures of this test

Callers

nothing calls this directly

Calls 1

magicMethod · 0.45

Tested by

no test coverage detected