Suppress deprecation warning from docutils

Change-Id: I5904b75b0c60d8fd99e4fb57b752109b960cff45
This commit is contained in:
Andrey Kurilin 2022-08-04 19:40:20 +03:00
parent 165c21ef99
commit 846a5fe4ec
1 changed files with 5 additions and 0 deletions

View File

@ -157,6 +157,11 @@ filterwarnings =
ignore:invalid escape sequence:DeprecationWarning:.*prettytable
ignore:invalid escape sequence:DeprecationWarning:.*subunit.*
ignore:invalid escape sequence:DeprecationWarning:.*docutils.*
# we do not use anything inner from OptionParser, so we do not care about it's parent
ignore:The frontend.OptionParser class will be replaced by a subclass of argparse.ArgumentParser in Docutils 0.21 or later.:DeprecationWarning:
# we do not use Option directly, it is initialized by OptionParser by itself.
# as soon as docutils team get rid of frontend.Option, they will also fix OptionParser
ignore: The frontend.Option class will be removed in Docutils 0.21 or later.:DeprecationWarning:
# python 3.7
ignore:Using or importing the ABCs:DeprecationWarning:unittest2.*
# python 3.8