Document that filterwarnings(message=...) matches the start of a message (issue 27528)
July 16, 2016
5:52 p.m.
http://bugs.python.org/review/27528/diff/17886/Doc/library/warnings.rst File Doc/library/warnings.rst (right): http://bugs.python.org/review/27528/diff/17886/Doc/library/warnings.rst#newc... Doc/library/warnings.rst:145: the warning message must match. (The expression is compiled to always be Can we drop parentheses? http://bugs.python.org/review/27528/diff/17886/Lib/test/test_warnings/__init... File Lib/test/test_warnings/__init__.py (right): http://bugs.python.org/review/27528/diff/17886/Lib/test/test_warnings/__init... Lib/test/test_warnings/__init__.py:274: self.assertListEqual(w, []) assertEqual calls assertListEqual implicitly so I guess this can be replaced with an assertEqual. http://bugs.python.org/review/27528/
3593
Age (days ago)
3593
Last active (days ago)
0 comments
1 participants
participants (1)
-
berker.peksag@gmail.com