Skip to content

Commit 539c1d7

Browse files
fix: remove unused requirement pytz (#422)
* 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>
1 parent a1e9a16 commit 539c1d7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
# https://github.com/googleapis/google-cloud-python/issues/10566
3535
"google-cloud-core >= 1.4.1, <3.0.0dev",
3636
"packaging >= 14.3",
37-
"pytz",
3837
"proto-plus >= 1.10.0",
3938
]
4039
extras = {}

tests/unit/v1/test_watch.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -566,9 +566,9 @@ def test_on_snapshot_unknown_listen_type(self):
566566
)
567567

568568
def test_push_callback_called_no_changes(self):
569-
import pytz
570-
571-
dummy_time = (datetime.datetime.fromtimestamp(1534858278, pytz.utc),)
569+
dummy_time = (
570+
datetime.datetime.fromtimestamp(1534858278, datetime.timezone.utc),
571+
)
572572

573573
inst = self._makeOne()
574574
inst.push(dummy_time, "token")

0 commit comments

Comments
 (0)