Skip to content

Commit

Permalink
update syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ohemorange committed Jan 3, 2025
1 parent d63079e commit c69d9d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/util_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ def setUp(self) -> None:

def test_getattr_proxy(self) -> None:
with warnings.catch_warnings():
warnings.filterwarnings('ignore', message='datetime.datetime.utcnow() is deprecated')
warnings.filterwarnings('ignore', category=DeprecationWarning,
message='.*Use timezone-aware objects to represent datetimes')
assert self.cert1.has_expired() is True

def test_eq(self) -> None:
Expand Down

0 comments on commit c69d9d5

Please sign in to comment.