From b7a088db6b11896ab1596bae9266e176be3c528a Mon Sep 17 00:00:00 2001 From: Paul Ivanov Date: Sun, 3 Apr 2011 17:49:40 -0700 Subject: [PATCH] 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 --- IPython/testing/iptest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/IPython/testing/iptest.py b/IPython/testing/iptest.py index fce2111dd..0b915b65c 100644 --- a/IPython/testing/iptest.py +++ b/IPython/testing/iptest.py @@ -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':