Adjust ignore_bs4_warning for Python 3.8

This commit is contained in:
Florian Bruhin 2019-10-15 10:31:27 +02:00
parent b33521f63d
commit 76ed55b149
1 changed files with 1 additions and 2 deletions

View File

@ -188,6 +188,5 @@ def ignore_bs4_warning():
with log.ignore_py_warnings(
category=DeprecationWarning,
message="Using or importing the ABCs from 'collections' instead "
"of from 'collections.abc' is deprecated, and in 3.8 it will stop "
"working", module='bs4.element'):
"of from 'collections.abc' is deprecated", module='bs4.element'):
yield