Skip to content

Commit fb55752

Browse files
authored
Update tests/unit/test_index.py
1 parent ac45c91 commit fb55752

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/test_index.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_index_to_list(monkeypatch: pytest.MonkeyPatch):
4545
pd_index = pd.Index([1, 2, 3], name="my_index")
4646
df = mocks.create_dataframe(
4747
monkeypatch,
48-
data=pd.DataFrame({"my_index": [1, 2, 3]}).set_index("my_index"),
49-
)
48+
data={"my_index": [1, 2, 3]},
49+
).set_index("my_index")
5050
bf_index = df.index
5151
assert bf_index.to_list() == pd_index.to_list()

0 commit comments

Comments
 (0)