MCPcopy Index your code
hub / github.com/ipython/ipython / test_paste_email2

Method test_paste_email2

tests/test_magic_terminal.py:161–169  ·  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

159 self.assertEqual(ip.user_ns["xx"], 2.1)
160
161 def test_paste_email2(self):
162 "Email again; some programs add a space also at each quoting level"
163 self.paste(
164 """\
165 > > def foo(x):
166 > > return x + 1
167 > > yy = foo(2.1) """
168 )
169 self.assertEqual(ip.user_ns["yy"], 3.1)
170
171 def test_paste_email_py(self):
172 "Email quoting of interactive input"

Callers

nothing calls this directly

Calls 1

pasteMethod · 0.95

Tested by

no test coverage detected