]> granicus.if.org Git - python/commit
The distinction between comparison flags and reporting flags isn't unique
authorTim Peters <tim.peters@gmail.com>
Mon, 30 Aug 2004 16:19:24 +0000 (16:19 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 30 Aug 2004 16:19:24 +0000 (16:19 +0000)
commit38330fe5ef3c0227d2267774b9b95352d290e9d7
tree05fac325926c66104c37f2a65c41f80b625e6e23
parented047486f5dd79cb594ef100362fe04ab1ef3e0a
The distinction between comparison flags and reporting flags isn't unique
to unittest, so make it official:  new module constants COMPARISON_FLAGS
and REPORTING_FLAGS, which are bitmasks or'ing together the relevant
individual option flags.

set_unittest_reportflags():  Reworked to use REPORTING_FLAGS, and
simplified overly complicated flag logic.

class FakeModule:  Removed this; neither documented nor used.
Doc/lib/libdoctest.tex
Lib/doctest.py