]> granicus.if.org Git - python/commit
Example.__init__: this cannot use assert, because that fails to trigger
authorTim Peters <tim.peters@gmail.com>
Wed, 4 Aug 2004 20:04:32 +0000 (20:04 +0000)
committerTim Peters <tim.peters@gmail.com>
Wed, 4 Aug 2004 20:04:32 +0000 (20:04 +0000)
commit9b625d3037815a6753fca21ad19711a92bebec54
treefb81ecf74c56e24c7cd5a6e0a349042a5383cea5
parent8485b562164304d068dfac4cee0f5108251eda55
Example.__init__:  this cannot use assert, because that fails to trigger
in a -O run, and so test_doctest was failing under -O.  Simple cause,
simple cure.
Lib/doctest.py
Lib/test/test_doctest.py