Added a warnings filter for deprecated library code.

- Legacy-Id: 16332
This commit is contained in:
Henrik Levkowetz 2019-06-29 13:25:30 +00:00
parent 484dcece5f
commit e27a06c0b8

View file

@ -23,6 +23,8 @@ warnings.filterwarnings("ignore", message="You passed a bytestring as `filenames
warnings.filterwarnings("ignore", message="django.forms.extras is deprecated.", module="bootstrap3")
warnings.filterwarnings("ignore", message="defusedxml.lxml is no longer supported and will be removed in a future release.", module="tastypie")
warnings.filterwarnings("ignore", message="Duplicate index '.*' defined on the table")
# Warnings found under Python 3.7:
warnings.filterwarnings("ignore", message="'U' mode is deprecated", module="docutils.io")
try: