mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
make know failures report as 'K'
ported from numpy.testing.noseclasses, with the equivalent code extracted into _numpy_testing_noseclasses in case numpy is not installed. removed some unused imports throughout
This commit is contained in:
parent
097fddbadd
commit
b7a088db6b
@ -53,6 +53,7 @@ from IPython.utils.sysinfo import sys_info
|
||||
|
||||
from IPython.testing import globalipapp
|
||||
from IPython.testing.plugin.ipdoctest import IPythonDoctest
|
||||
from IPython.external.decorators import KnownFailure
|
||||
|
||||
pjoin = path.join
|
||||
|
||||
@ -357,7 +358,7 @@ def run_iptest():
|
||||
|
||||
# Construct list of plugins, omitting the existing doctest plugin, which
|
||||
# ours replaces (and extends).
|
||||
plugins = [IPythonDoctest(make_exclude())]
|
||||
plugins = [IPythonDoctest(make_exclude()), KnownFailure()]
|
||||
for p in nose.plugins.builtin.plugins:
|
||||
plug = p()
|
||||
if plug.name == 'doctest':
|
||||
|
Loading…
Reference in New Issue
Block a user