Skip to content

Commit 5620519

Browse files
committed
Update test case
1 parent fdd88df commit 5620519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_sys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ def test_sys_getwindowsversion_no_instantiation(self):
850850

851851
@test.support.cpython_only
852852
def test_clear_type_cache(self):
853-
with self.assertWarnsRegex(DeprecationWarning, "sys._clear_type_cache() is deprecated"):
853+
with self.assertWarnsRegex(DeprecationWarning, r".*sys._clear_type_cache() is deprecated.*"):
854854
sys._clear_type_cache()
855855

856856
@force_not_colorized

0 commit comments

Comments
 (0)