##// END OF EJS Templates
Fix test for IndentationError message
Thomas Kluyver -
Show More
@@ -176,8 +176,8 b' class InteractiveShellTestCase(unittest.TestCase):'
176 trigger a message about paste magics and also the opposite."""
176 trigger a message about paste magics and also the opposite."""
177
177
178 ip = get_ipython()
178 ip = get_ipython()
179 s = ''' sum([1, 2,
179 s = ('for a in range(5):\n'
180 3, 4])'''
180 'print(a)')
181
181
182 tm = ip.magics_manager.registry['TerminalMagics']
182 tm = ip.magics_manager.registry['TerminalMagics']
183 with tt.AssertPrints("If you want to paste code into IPython, try the "
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