Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove unused requirement pytz #422

Merged
merged 2 commits into from Aug 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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