Skip to content

Commit 5209282

Browse files
committed
Fix a bug catched by the rule
1 parent 44a166c commit 5209282

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygmt/tests/test_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def test_info_dataframe(dtype):
9999
"""
100100
Make sure info works on pandas.DataFrame inputs.
101101
"""
102-
table = pd.read_csv(POINTS_DATA, sep=" ", header=None)
102+
table = pd.read_csv(POINTS_DATA, sep=" ", header=None, dtype=dtype)
103103
output = info(data=table)
104104
expected_output = (
105105
"<vector memory>: N = 20 <11.5309/61.7074> <-2.9289/7.8648> <0.1412/0.9338>\n"

0 commit comments

Comments
 (0)