In Python 3.11 many old deprecated unittest features are removed:
TestCase method aliases failUnlessEqual, failIfEqual, failUnless, failIf, failUnlessRaises, failUnlessAlmostEqual, failIfAlmostEqual (deprecated in Python 3.1), assertEquals, assertNotEquals, assert_, assertAlmostEquals, assertNotAlmostEquals, assertRegexpMatches, assertRaisesRegexp (deprecated in Python 3.2), and assertNotRegexpMatches (deprecated in Python 3.5).
Undocumented and broken TestCase method assertDictContainsSubset (deprecated in Python 3.2).
Undocumented <unittest.TestLoader.loadTestsFromModule> TestLoader.loadTestsFromModule() parameter use_load_tests (deprecated and ignored since Python 3.2).
An alias of the TextTestResult class: _TextTestResult (deprecated in Python 3.2).
(Contributed by Serhiy Storchaka in bpo-45162.)
https://docs.python.org/3.11/whatsnew/3.11.html
Newer Windows build starts seeing:
A bug in RedHat Bugzilla (https://bugzilla.redhat.com/show_bug.cgi?id=2019006) suggests: