mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-17 12:39:54 +08:00
Merging -r 1196 from lp:ipython.
A couple of issues came up: * Some tests in testing and frontend rely on twisted, but are being tested with nose. This is bad! We currently have hackish logic in iptest to skip these if twisted is not installed, but if it is we are testing them with nose! * Some modules (engineservice, kernel/error, newserialized) have nose skip logic even though they should never be tested with nose. * When trial is run on testStrictDict we get an uncaught error. testStrictDict ... ERROR: An unexpected error occurred while tokenizing input The following traceback may be corrupted or invalid The error message is: ('EOF in multi-line statement', (37, 0))
This commit is contained in:
commit
d2126ac322
@ -108,6 +108,27 @@ def make_exclude():
|
||||
if not have_pexpect:
|
||||
EXCLUDE.append(pjoin('IPython', 'scripts', 'irunner'))
|
||||
|
||||
# This is scary. We still have things in frontend and testing that
|
||||
# are being tested by nose that use twisted. We need to rethink
|
||||
# how we are isolating dependencies in testing.
|
||||
if not (have_twisted and have_zi and have_foolscap):
|
||||
EXCLUDE.append(pjoin('IPython', 'frontend', 'asyncfrontendbase'))
|
||||
EXCLUDE.append(pjoin('IPython', 'frontend', 'prefilterfrontend'))
|
||||
EXCLUDE.append(pjoin('IPython', 'frontend', 'frontendbase'))
|
||||
EXCLUDE.append(pjoin('IPython', 'frontend', 'linefrontendbase'))
|
||||
EXCLUDE.append(pjoin('IPython', 'frontend', 'tests',
|
||||
'test_linefrontend'))
|
||||
EXCLUDE.append(pjoin('IPython', 'frontend', 'tests',
|
||||
'test_frontendbase'))
|
||||
EXCLUDE.append(pjoin('IPython', 'frontend', 'tests',
|
||||
'test_prefilterfrontend'))
|
||||
EXCLUDE.append(pjoin('IPython', 'frontend', 'tests',
|
||||
'test_asyncfrontendbase')),
|
||||
EXCLUDE.append(pjoin('IPython', 'testing', 'parametric'))
|
||||
EXCLUDE.append(pjoin('IPython', 'testing', 'util'))
|
||||
EXCLUDE.append(pjoin('IPython', 'testing', 'tests',
|
||||
'test_decorators_trial'))
|
||||
|
||||
# Skip shell always because of a bug in FakeModule.
|
||||
EXCLUDE.append(pjoin('IPython', 'core', 'shell'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user