Show More
@@ -176,8 +176,8 class InteractiveShellTestCase(unittest.TestCase): | |||
|
176 | 176 | trigger a message about paste magics and also the opposite.""" |
|
177 | 177 | |
|
178 | 178 | ip = get_ipython() |
|
179 | s = ''' sum([1, 2, | |
|
180 | 3, 4])''' | |
|
179 | s = ('for a in range(5):\n' | |
|
180 | 'print(a)') | |
|
181 | 181 | |
|
182 | 182 | tm = ip.magics_manager.registry['TerminalMagics'] |
|
183 | 183 | with tt.AssertPrints("If you want to paste code into IPython, try the " |
General Comments 0
You need to be logged in to leave comments.
Login now