Skip to content

Commit c5a5de1

Browse files
committed
Fix test_loc_dtype
1 parent 2536652 commit c5a5de1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/indexing/test_loc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def test_loc_dtype():
6565
df = DataFrame([["a", 1.0, 2.0], ["b", 3.0, 4.0]])
6666
result = df.loc[0, [1, 2]]
6767
expected = df[[1, 2]].loc[0]
68-
tm.assert_frame_equal(result, expected)
68+
tm.assert_series_equal(result, expected)
6969

7070

7171
class TestLoc:

0 commit comments

Comments
 (0)