Skip to content

Commit b77a6f7

Browse files
committed
Update unittest for read_gbq dtypes.
1 parent 6f5ba5c commit b77a6f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/unit/test_gbq.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import pandas.util.testing as tm
44
import pytest
55
import numpy
6+
import pandas.api.types
67
from pandas import DataFrame
78

89
import pandas_gbq.exceptions
@@ -90,7 +91,7 @@ def no_auth(monkeypatch):
9091
("INTEGER", None), # Can't handle NULL
9192
("BOOLEAN", None), # Can't handle NULL
9293
("FLOAT", numpy.dtype(float)),
93-
("TIMESTAMP", "datetime64[ns]"),
94+
("TIMESTAMP", pandas.api.types.DatetimeTZDtype(tz="UTC")),
9495
("DATETIME", "datetime64[ns]"),
9596
],
9697
)

0 commit comments

Comments
 (0)