Skip to content

Commit

Permalink
Assert no warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
JelleZijlstra committed Feb 16, 2024
1 parent a564f13 commit 52a4aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -7321,7 +7321,7 @@ def test_re_submodule(self):

def test_re_submodule_access_basics(self):
with warnings.catch_warnings(record=True) as w:
warnings.filterwarnings("default", category=DeprecationWarning)
warnings.filterwarnings("error", category=DeprecationWarning)
from typing import re
self.assertIsInstance(re.__doc__, str)
self.assertEqual(re.__name__, "typing.re")
Expand Down

0 comments on commit 52a4aac

Please sign in to comment.