Email again; some programs add a space also at each quoting level
(self)
| 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" |