##// END OF EJS Templates
Fix #11334: Cannot make multi-line code blocks in ipython...
Fix #11334: Cannot make multi-line code blocks in ipython When codeop.compile_command() returns None it actually says "at least some part of the code was compiled successfully" which is not really important for checking if it's complete or not. Once we haven't got any errors during compilation process, we just want to check if there will be another nested block of code or not by checking a colon.

File last commit:

r13855:18493681
r24624:a6c064a0
Show More
test_imports.py
11 lines | 270 B | text/x-python | PythonLexer
# encoding: utf-8
from IPython.testing import decorators as dec
def test_import_backgroundjobs():
from IPython.lib import backgroundjobs
def test_import_deepreload():
from IPython.lib import deepreload
def test_import_demo():
from IPython.lib import demo