* [3.11] gh-115198: Fix test_check_metadata_deprecation in test_distutils
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
---------
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
cmd = self._get_cmd()
with check_warnings() as w:
warnings.simplefilter("always")
+ warnings.filterwarnings("ignore", ".*OptionParser class will be replaced.*")
+ warnings.filterwarnings("ignore", ".*Option class will be removed.*")
cmd.check_metadata()
self.assertEqual(len(w.warnings), 1)
--- /dev/null
+Fix test_check_metadata_deprecate in distutils tests with a newer Docutils.