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