Skip to content

Commit

Permalink
fix: remove unused requirement pytz (#422)
Browse files Browse the repository at this point in the history
* fix: remove unused requirement pytz

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
busunkim96 and gcf-owl-bot[bot] committed Aug 12, 2021
1 parent a1e9a16 commit 539c1d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion setup.py
Expand Up @@ -34,7 +34,6 @@
# https://github.com/googleapis/google-cloud-python/issues/10566
"google-cloud-core >= 1.4.1, <3.0.0dev",
"packaging >= 14.3",
"pytz",
"proto-plus >= 1.10.0",
]
extras = {}
Expand Down
6 changes: 3 additions & 3 deletions tests/unit/v1/test_watch.py
Expand Up @@ -566,9 +566,9 @@ def test_on_snapshot_unknown_listen_type(self):
)

def test_push_callback_called_no_changes(self):
import pytz

dummy_time = (datetime.datetime.fromtimestamp(1534858278, pytz.utc),)
dummy_time = (
datetime.datetime.fromtimestamp(1534858278, datetime.timezone.utc),
)

inst = self._makeOne()
inst.push(dummy_time, "token")
Expand Down

0 comments on commit 539c1d7

Please sign in to comment.