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 99b0113 commit 7698f5aCopy full SHA for 7698f5a
tests/unit/test_gbq.py
@@ -113,11 +113,16 @@ def test__bqschema_to_nullsafe_dtypes(type_, expected):
113
assert result == {"x": expected}
114
115
116
+@pytest.mark.skipif(
117
+ pandas.__version__ < "2.0.0", reason="requires pandas 2.0.0 or higher"
118
+)
119
@pytest.mark.parametrize(
120
("data", "schema_type", "expected"),
121
[
122
(
- pandas.to_datetime(["2017-01-01T12:00:00Z"]).astype(pandas.DatetimeTZDtype(unit="us", tz="UTC")),
123
+ pandas.to_datetime(["2017-01-01T12:00:00Z"]).astype(
124
+ pandas.DatetimeTZDtype(unit="us", tz="UTC")
125
+ ),
126
"TIMESTAMP",
127
pandas.DatetimeTZDtype(unit="us", tz="UTC"),
128
),
0 commit comments