ipython/ipython — Issue #918: IPython.frontend tests fail without tornado
Author: juliantaylor
Created: 2011-10-21 20:40:36+00:00
State: open

frontend test fails without tornado, it should probably be skipped instead.

IPython/scripts/iptest IPython.frontend -v

```
Failure: ImportError (The IPython Notebook requires tornado >= 2.1.0) ... ERROR
Do control sequences for clearing the console work? ... ok
Do basic controls sequences for colors work? ... ok
Do xterm-specific control sequences for colors work? ... ok
Do control sequences for scrolling the buffer work? ... ok
Are special characters processed correctly? ... ok
Does the CompletionLexer work for C/C++? ... ok
Does the CompletionLexer work for Python? ... ok
Does the generic kill ring work? ... ok
Does the Qt kill ring work? ... ok
Does the Qt kill ring maintain state with cursor movement? ... ok
Doctest: IPython.frontend.terminal.interactiveshell ... ok
Doctest: IPython.frontend.terminal.interactiveshell.TerminalInteractiveShell.magic_cpaste ... ok

======================================================================
ERROR: Failure: ImportError (The IPython Notebook requires tornado >= 2.1.0)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/nose/loader.py", line 390, in loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/pymodules/python2.7/nose/importer.py", line 39, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/pymodules/python2.7/nose/importer.py", line 86, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/media/Linux-data/home/Packages/ipython/pkg/trunk/IPython/frontend/html/notebook/__init__.py", line 8, in
raise ImportError(msg)
ImportError: The IPython Notebook requires tornado >= 2.1.0

----------------------------------------------------------------------
Ran 13 tests in 0.163s

FAILED (errors=1)
```