Show More
@@ -86,3 +86,8 b' class InteractiveShellTestCase(unittest.TestCase):' | |||
|
86 | 86 | newlen = len(ip.user_ns['In']) |
|
87 | 87 | self.assertEquals(oldlen+1, newlen) |
|
88 | 88 | self.assertEquals(ip.user_ns['In'][-1],'1;') |
|
89 | ||
|
90 | def test_magic_names_in_string(self): | |
|
91 | ip = get_ipython() | |
|
92 | ip.run_cell('"""\n%exit\n"""') | |
|
93 | self.assertEquals(ip.user_ns['In'][-1], '\n%exit\n') |
General Comments 0
You need to be logged in to leave comments.
Login now