Skip to content

Commit d9f092f

Browse files
committed
Tweak the Pandas test to correct for 3.9 wheel error.
1 parent 1c768c9 commit d9f092f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_thirdparty.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def test_pandas():
190190
)
191191

192192
# Pandas 1.5 changed the API for to_csv()
193-
if tuple(int(v) for v in __version__.split(".")) < (1, 5):
193+
if tuple(int(v) for v in __version__.split(".")[:2]) < (1, 5):
194194
kwargs = dict(line_terminator="\n")
195195
else:
196196
kwargs = dict(lineterminator="\n")

0 commit comments

Comments
 (0)