Skip to content

Commit b3553dd

Browse files
GH963 Add test
1 parent dc2c220 commit b3553dd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_io.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,11 @@ def test_read_csv():
575575
DataFrame,
576576
)
577577

578+
def cols(x: str) -> bool:
579+
return x in ["a", "b"]
580+
581+
pd.read_csv(path, usecols=cols)
582+
578583

579584
def test_read_csv_iterator():
580585
with ensure_clean() as path:

0 commit comments

Comments
 (0)