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