[docs] [issue18951] In unittest.TestCase.assertRegex change "re" and "regex" to "r"

Ezio Melotti report at bugs.python.org
Fri Sep 13 21:23:38 CEST 2013


Ezio Melotti added the comment:

Fixed, thanks for the report and the patch!
I also updated the table entry for assertRaisesRegex and assertWarnsRegex.
I avoid using "regex" instead of "re" or "r" to keep it short and avoid confusion with the re/regex modules.  The documentation of the methods uses "regex", but there it's OK.

----------
assignee: docs at python -> ezio.melotti
nosy: +ezio.melotti
resolution:  -> fixed
stage: commit review -> committed/rejected
status: open -> closed
versions: +Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18951>
_______________________________________


More information about the docs mailing list