diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-09-13 01:07:12 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-09-13 01:07:12 (GMT) |
commit | c56847878e503ddea8309b0a0c45e06d7c56f2ee (patch) | |
tree | e930a41762ae4aff555cf58ed3da04682a404496 /Lib/test/test_doctest.py | |
parent | 82076ef19482c7fc8b3f4a322f12d4417a397b3e (diff) | |
download | cpython-c56847878e503ddea8309b0a0c45e06d7c56f2ee.zip cpython-c56847878e503ddea8309b0a0c45e06d7c56f2ee.tar.gz cpython-c56847878e503ddea8309b0a0c45e06d7c56f2ee.tar.bz2 |
DocTestFinder._find(): for tests derived from a module __test__ global,
doctest always promised to stick "__test__" in the name. That got
broken. Now it's fixed again.
Diffstat (limited to 'Lib/test/test_doctest.py')
-rw-r--r-- | Lib/test/test_doctest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_doctest.py b/Lib/test/test_doctest.py index 2b287ed..d60738b 100644 --- a/Lib/test/test_doctest.py +++ b/Lib/test/test_doctest.py @@ -467,8 +467,8 @@ functions, classes, and the `__test__` dictionary, if it exists: 1 some_module.SampleClass.a_staticmethod 1 some_module.SampleClass.double 1 some_module.SampleClass.get - 1 some_module.c - 2 some_module.d + 1 some_module.__test__.c + 2 some_module.__test__.d 1 some_module.sample_func Duplicate Removal |