Skip to content

Commit 5a526c0

Browse files
committed
Remove timezone from datetime tests.
1 parent 013b00f commit 5a526c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/system/test_gbq.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ def test_should_properly_handle_datetime_unix_epoch(self, project_id):
344344
tm.assert_frame_equal(
345345
df,
346346
DataFrame(
347-
{"unix_epoch": ["1970-01-01T00:00:00.000000Z"]},
347+
{"unix_epoch": ["1970-01-01T00:00:00"]},
348348
dtype="datetime64[ns]",
349349
),
350350
)
@@ -362,7 +362,7 @@ def test_should_properly_handle_arbitrary_datetime(self, project_id):
362362
DataFrame(
363363
{
364364
"valid_timestamp": [
365-
np.datetime64("2004-09-15T05:00:00.000000Z")
365+
np.datetime64("2004-09-15T05:00:00")
366366
]
367367
}
368368
),

0 commit comments

Comments
 (0)