From a353a81f6a704d1971c30d02d6b39cb76b210edb 2011-05-27 17:51:46 From: MinRK <benjaminrk@gmail.com> Date: 2011-05-27 17:51:46 Subject: [PATCH] fix skip_doctest import in testing.tools --- diff --git a/IPython/testing/tools.py b/IPython/testing/tools.py index 278de6e..c829c8e 100644 --- a/IPython/testing/tools.py +++ b/IPython/testing/tools.py @@ -47,6 +47,7 @@ from IPython.utils.text import list_strings from IPython.utils.io import temp_pyfile from . import decorators as dec +from . import skipdoctest #----------------------------------------------------------------------------- # Globals @@ -70,7 +71,7 @@ if has_nose: # The docstring for full_path doctests differently on win32 (different path # separator) so just skip the doctest there. The example remains informative. -doctest_deco = dec.skip_doctest if sys.platform == 'win32' else dec.null_deco +doctest_deco = skipdoctest.skip_doctest if sys.platform == 'win32' else dec.null_deco @doctest_deco def full_path(startPath,files):