|
 |
933683 |
diff --git a/src/zope/testing/doctestcase.txt b/src/zope/testing/doctestcase.txt
|
|
 |
933683 |
index a8c673b..82c24d6 100644
|
|
 |
933683 |
--- a/src/zope/testing/doctestcase.txt
|
|
 |
933683 |
+++ b/src/zope/testing/doctestcase.txt
|
|
 |
933683 |
@@ -87,15 +87,15 @@ Here are some examples::
|
|
 |
933683 |
>>> sys.stdout.writeln = lambda s: sys.stdout.write(s+'\n')
|
|
 |
933683 |
>>> suite = loader.loadTestsFromTestCase(MyTest)
|
|
 |
933683 |
>>> result = suite.run(unittest.TextTestResult(sys.stdout, True, 3))
|
|
 |
933683 |
- test1 (tests.MyTest) ... ok
|
|
 |
933683 |
- test2 (tests.MyTest) ... ok
|
|
 |
933683 |
- test3 (tests.MyTest) ... ok
|
|
 |
933683 |
- test4 (tests.MyTest) ... ok
|
|
 |
933683 |
+ test1 (tests.MyTest.test1) ... ok
|
|
 |
933683 |
+ test2 (tests.MyTest.test2) ... ok
|
|
 |
933683 |
+ test3 (tests.MyTest.test3) ... ok
|
|
 |
933683 |
+ test4 (tests.MyTest.test4) ... ok
|
|
 |
933683 |
|
|
 |
933683 |
>>> suite = loader.loadTestsFromTestCase(MoreTests)
|
|
 |
933683 |
>>> result = suite.run(unittest.TextTestResult(sys.stdout, True, 3))
|
|
 |
933683 |
- test_loggingsupport (tests.MoreTests) ... ok
|
|
 |
933683 |
- test_renormalizing (tests.MoreTests) ... ok
|
|
 |
933683 |
+ test_loggingsupport (tests.MoreTests.test_loggingsupport) ... ok
|
|
 |
933683 |
+ test_renormalizing (tests.MoreTests.test_renormalizing) ... ok
|
|
 |
933683 |
|
|
 |
933683 |
>>> for _, e in result.errors:
|
|
 |
933683 |
... print(e); print
|
|
 |
933683 |
@@ -320,9 +320,9 @@ whereas the unittest and py.test test runners use class dictionary keys.
|
|
 |
933683 |
|
|
 |
933683 |
>>> suite = loader.loadTestsFromTestCase(MyTest)
|
|
 |
933683 |
>>> result = suite.run(unittest.TextTestResult(sys.stdout, True, 2))
|
|
 |
933683 |
- test2 (tests.MyTest) ... ok
|
|
 |
933683 |
- test3 (tests.MyTest) ... ok
|
|
 |
933683 |
- test4 (tests.MyTest) ... ok
|
|
 |
933683 |
+ test2 (tests.MyTest.test2) ... ok
|
|
 |
933683 |
+ test3 (tests.MyTest.test3) ... ok
|
|
 |
933683 |
+ test4 (tests.MyTest.test4) ... ok
|
|
 |
933683 |
|
|
 |
933683 |
.. test __name__ variations
|
|
 |
933683 |
|