##// END OF EJS Templates
Fix IPythonConsoleLexer doctest
Nikita Kniazev -
Show More
@@ -221,11 +221,9 b' class IPythonConsoleLexer(Lexer):'
221 In [2]: a
221 In [2]: a
222 Out[2]: 'foo'
222 Out[2]: 'foo'
223
223
224 In [3]: print a
224 In [3]: print(a)
225 foo
225 foo
226
226
227 In [4]: 1 / 0
228
229
227
230 Support is also provided for IPython exceptions:
228 Support is also provided for IPython exceptions:
231
229
@@ -234,13 +232,9 b' class IPythonConsoleLexer(Lexer):'
234 .. code-block:: ipythonconsole
232 .. code-block:: ipythonconsole
235
233
236 In [1]: raise Exception
234 In [1]: raise Exception
237
235 Traceback (most recent call last):
238 ---------------------------------------------------------------------------
236 ...
239 Exception Traceback (most recent call last)
237 Exception
240 <ipython-input-1-fca2ab0ca76b> in <module>
241 ----> 1 raise Exception
242
243 Exception:
244
238
245 """
239 """
246 name = 'IPython console session'
240 name = 'IPython console session'
General Comments 0
You need to be logged in to leave comments. Login now