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.
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 @@
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