summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_doctest2.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-07-30 23:27:12 (GMT)
committerBarry Warsaw <barry@python.org>2002-07-30 23:27:12 (GMT)
commit408b6d34de2b1a6ba690557def435adce9314184 (patch)
tree9d4e40110765646f7033a740641ef67750d17b91 /Lib/test/test_doctest2.py
parent1bc894b1333ff0fd0d8b175f6748798e5fd08aed (diff)
downloadcpython-408b6d34de2b1a6ba690557def435adce9314184.zip
cpython-408b6d34de2b1a6ba690557def435adce9314184.tar.gz
cpython-408b6d34de2b1a6ba690557def435adce9314184.tar.bz2
Complete the absolute import patch for the test suite. All relative
imports of test modules now import from the test package. Other related oddities are also fixed (like DeprecationWarning filters that weren't specifying the full import part, etc.). Also did a general code cleanup to remove all "from test.test_support import *"'s. Other from...import *'s weren't changed.
Diffstat (limited to 'Lib/test/test_doctest2.py')
-rw-r--r--Lib/test/test_doctest2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_doctest2.py b/Lib/test/test_doctest2.py
index 31bf6e8..3593d41 100644
--- a/Lib/test/test_doctest2.py
+++ b/Lib/test/test_doctest2.py
@@ -93,7 +93,7 @@ class C(object):
clsm = classmethod(clsm)
def test_main():
- import test_doctest2
+ from test import test_doctest2
EXPECTED = 19
f, t = test_support.run_doctest(test_doctest2)
if t != EXPECTED: