Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Oct 14, 2024
1 parent 6d8edad commit e2f5afc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bindings/python/test/test_builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def test_simple(self):
self.maxDiff = None

builder = DatetimeBuilder(dtype=timestamp("ms"))
datetimes = [datetime.now(timezone.UTC) + timedelta(days=k * 100) for k in range(5)]
datetimes = [datetime.now(timezone.utc) + timedelta(days=k * 100) for k in range(5)]
builder.append(self._datetime_to_millis(datetimes[0]))
builder.append_values([self._datetime_to_millis(k) for k in datetimes[1:]])
builder.append_null()
Expand Down
4 changes: 2 additions & 2 deletions bindings/python/test/test_datetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ def setUp(self):
self.coll.drop()
self.coll.insert_many(
[
{"_id": 1, "data": datetime.now(timezone.UTC) + timedelta(milliseconds=10)},
{"_id": 2, "data": datetime.now(timezone.UTC) + timedelta(milliseconds=25)},
{"_id": 1, "data": datetime.now(timezone.utc) + timedelta(milliseconds=10)},
{"_id": 2, "data": datetime.now(timezone.utc) + timedelta(milliseconds=25)},
]
)
self.expected_times = []
Expand Down

0 comments on commit e2f5afc

Please sign in to comment.