Test pasting of email-quoted contents
(self)
| 126 | nt.assert_equal(ip.user_ns['y'], [1,4,9]) |
| 127 | |
| 128 | def test_paste_email(self): |
| 129 | "Test pasting of email-quoted contents" |
| 130 | self.paste("""\ |
| 131 | >> def foo(x): |
| 132 | >> return x + 1 |
| 133 | >> xx = foo(1.1)""") |
| 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" |