We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1e9a16 commit 539c1d7Copy full SHA for 539c1d7
setup.py
@@ -34,7 +34,6 @@
34
# https://github.com/googleapis/google-cloud-python/issues/10566
35
"google-cloud-core >= 1.4.1, <3.0.0dev",
36
"packaging >= 14.3",
37
- "pytz",
38
"proto-plus >= 1.10.0",
39
]
40
extras = {}
tests/unit/v1/test_watch.py
@@ -566,9 +566,9 @@ def test_on_snapshot_unknown_listen_type(self):
566
)
567
568
def test_push_callback_called_no_changes(self):
569
- import pytz
570
-
571
- dummy_time = (datetime.datetime.fromtimestamp(1534858278, pytz.utc),)
+ dummy_time = (
+ datetime.datetime.fromtimestamp(1534858278, datetime.timezone.utc),
+ )
572
573
inst = self._makeOne()
574
inst.push(dummy_time, "token")
0 commit comments