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

Method test_paste_email2

IPython/core/tests/test_magic_terminal.py:136–142  ·  view source on GitHub ↗

Email again; some programs add a space also at each quoting level

(self)

Source from the content-addressed store, hash-verified

134 nt.assert_equal(ip.user_ns['xx'], 2.1)
135
136 def test_paste_email2(self):
137 "Email again; some programs add a space also at each quoting level"
138 self.paste("""\
139 > > def foo(x):
140 > > return x + 1
141 > > yy = foo(2.1) """)
142 nt.assert_equal(ip.user_ns['yy'], 3.1)
143
144 def test_paste_email_py(self):
145 "Email quoting of interactive input"

Callers

nothing calls this directly

Calls 1

pasteMethod · 0.95

Tested by

no test coverage detected