mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
parent
fb4f8257bf
commit
ab078e9ed1
20 changed files with 92 additions and 105 deletions
|
@ -659,7 +659,7 @@ class DocTests(unittest.TestCase):
|
|||
@unittest.skipIf(sys.flags.optimize >= 2,
|
||||
"Docstrings are omitted with -OO and above")
|
||||
def test_doc_tests(self):
|
||||
failed, tried = doctest.testmod(statistics, optionflags=doctest.ELLIPSIS)
|
||||
failed, tried = doctest.testmod(statistics)
|
||||
self.assertGreater(tried, 0)
|
||||
self.assertEqual(failed, 0)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue