Skip to content

Commit

Permalink
Update test_gallery.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mavaylon1 authored Mar 4, 2024
1 parent af559fa commit 9840183
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test_gallery.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ def _import_from_file(script):
)

_deprecation_warning_datetime = (
"datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. "
"Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC)."
r"datetime.datetime.utcfromtimestamp() *"
)

def run_gallery_tests():
Expand Down

0 comments on commit 9840183

Please sign in to comment.