]> granicus.if.org Git - python/commit
bpo-37268: test_parser fails when run with -Werror (GH-15183)
authorZackery Spytz <zspytz@gmail.com>
Thu, 8 Aug 2019 21:48:00 +0000 (15:48 -0600)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 8 Aug 2019 21:48:00 +0000 (14:48 -0700)
commit10a0a093231ea82a3bfd33fd63322aebd8406866
treee6f8030d2f2750d0625dc6c5901ef86737f70b63
parentf4e725f224b864bf9bf405ff7f863cda46fca1cd
bpo-37268: test_parser fails when run with -Werror (GH-15183)

Use warnings.filterwarnings() when importing the deprecated parser
module.

@pablogsal

https://bugs.python.org/issue37268

Automerge-Triggered-By: @pablogsal
Lib/test/test_parser.py