##// END OF EJS Templates
Merge pull request #1631 from punchagan/qapplication-exists-test-error...
Merge pull request #1631 from punchagan/qapplication-exists-test-error TST: QApplication doesn't quit early enough with PySide In both tests which create a QApplication, first check whether one already exists, and if so use it. This is an issue with PySide, which unlike PyQt does not delete the QApplication when expected. Closes #1628

File last commit:

r6132:2959fa0a
r6577:9e4479b6 merge
Show More
__init__.py
15 lines | 409 B | text/x-python | PythonLexer
"""The IPython HTML Notebook"""
# check for tornado 2.1.0
msg = "The IPython Notebook requires tornado >= 2.1.0"
try:
import tornado
except ImportError:
raise ImportError(msg)
try:
version_info = tornado.version_info
except AttributeError:
raise ImportError(msg + ", but you have < 1.1.0")
if version_info < (2,1,0):
raise ImportError(msg + ", but you have %s" % tornado.version)
del msg