Show More
@@ -25,8 +25,6 b' import logging' | |||
|
25 | 25 | import os |
|
26 | 26 | import re |
|
27 | 27 | import sys |
|
28 | import traceback | |
|
29 | import unittest | |
|
30 | 28 | |
|
31 | 29 | from testpath import modified_env |
|
32 | 30 | |
@@ -41,10 +39,9 b' from doctest import (REPORTING_FLAGS, REPORT_ONLY_FIRST_FAILURE,' | |||
|
41 | 39 | linecache) |
|
42 | 40 | |
|
43 | 41 | # Third-party modules |
|
44 | import nose.core | |
|
45 | 42 | |
|
46 | 43 | from nose.plugins import doctests, Plugin |
|
47 |
from nose.util import anyp, |
|
|
44 | from nose.util import anyp, tolist | |
|
48 | 45 | |
|
49 | 46 | # Our own imports |
|
50 | 47 | from IPython.utils.py3compat import builtin_mod, PY3, getcwd |
@@ -143,7 +140,7 b' class DocTestFinder(doctest.DocTestFinder):' | |||
|
143 | 140 | # doctests in extension modules. |
|
144 | 141 | |
|
145 | 142 | # Local shorthands |
|
146 |
from inspect import isroutine, isclass |
|
|
143 | from inspect import isroutine, isclass | |
|
147 | 144 | |
|
148 | 145 | # Look for tests in a module's contained objects. |
|
149 | 146 | if inspect.ismodule(obj) and self._recurse: |
General Comments 0
You need to be logged in to leave comments.
Login now