Skip to content

Commit d84c5c0

Browse files
author
Matt Roeschke
committed
Try to fix pandas-dev#15119
1 parent 9b82350 commit d84c5c0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pandas/tests/io/test_sql.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -1356,9 +1356,7 @@ def check(col):
13561356
# even with the same versions of psycopg2 & sqlalchemy, possibly a
13571357
# Postgrsql server version difference
13581358
col = df.DateColWithTz
1359-
assert (is_object_dtype(col.dtype) or
1360-
is_datetime64_dtype(col.dtype) or
1361-
is_datetime64tz_dtype(col.dtype))
1359+
assert is_datetime64tz_dtype(col.dtype)
13621360

13631361
df = pd.read_sql_query("select * from types_test_data",
13641362
self.conn, parse_dates=['DateColWithTz'])

0 commit comments

Comments
 (0)