We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdd88df commit 5620519Copy full SHA for 5620519
Lib/test/test_sys.py
@@ -850,7 +850,7 @@ def test_sys_getwindowsversion_no_instantiation(self):
850
851
@test.support.cpython_only
852
def test_clear_type_cache(self):
853
- with self.assertWarnsRegex(DeprecationWarning, "sys._clear_type_cache() is deprecated"):
+ with self.assertWarnsRegex(DeprecationWarning, r".*sys._clear_type_cache() is deprecated.*"):
854
sys._clear_type_cache()
855
856
@force_not_colorized
0 commit comments