From 846a5fe4ec924b838496d94ef1c5d36bedad3a77 Mon Sep 17 00:00:00 2001 From: Andrey Kurilin Date: Thu, 4 Aug 2022 19:40:20 +0300 Subject: [PATCH] Suppress deprecation warning from docutils Change-Id: I5904b75b0c60d8fd99e4fb57b752109b960cff45 --- tox.ini | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tox.ini b/tox.ini index 301eff1d2f..e6d2726f81 100644 --- a/tox.ini +++ b/tox.ini @@ -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