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