Skip to content

Commit 75ac7e1

Browse files
committed
fix sql tests
1 parent 00953ff commit 75ac7e1

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
@@ -774,7 +774,7 @@ def psql_insert_copy(table, conn, keys, data_iter):
774774
"test_frame", conn, index=False, method=psql_insert_copy
775775
)
776776
# GH 46891
777-
if not isinstance(expected_count, int):
777+
if expected_count is None:
778778
assert result_count is None
779779
else:
780780
assert result_count == expected_count

0 commit comments

Comments
 (0)