Skip to content

Commit f8248e5

Browse files
committed
fix sql tests
1 parent 35746ac commit f8248e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/io/test_sql.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ def psql_insert_copy(table, conn, keys, data_iter):
775775
"test_frame", conn, index=False, method=psql_insert_copy
776776
)
777777
# GH 46891
778-
if not isinstance(expected_count, int):
778+
if expected_count is None:
779779
assert result_count is None
780780
else:
781781
assert result_count == expected_count

0 commit comments

Comments
 (0)