-
-
Notifications
You must be signed in to change notification settings - Fork 685
Closed
Description
- Changes "... done" to ". . . pass" in the output of TestSuite().run(verbose = True) to avoid unintentional matches
- Fix the doctests accordingly.
- Adds skip option; use it in sage/combinat/sf/jack.py and orthotriang.py
- In case of failure, execute the following tests after printing out a traceback, and write a summary at the end
- Only use verbose=True in the doctests when useful (category examples)
Rationale for the ...: when testing something in verbose mode the typical output of sage is:
sage: P = Sets().example("inherits")
sage: TestSuite(P).run(verbose=True)
running ._test_an_element() ... done
running ._test_element_pickling() ... done
running ._test_not_implemented_methods() ... done
running ._test_pickling() ... done
running ._test_some_elements() ... done
And there is some risks that the "..." match something they should'nt I change them to ". . ."
See discussion on sage-devel
CC: @sagetrac-sage-combinat
Component: doctest coverage
Keywords: TestSuite
Author: Florent Hivert, Nicolas M. Thiéry
Reviewer: Nicolas M. Thiéry, Florent Hivert
Merged: sage-4.3.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/7478