Skip to content

Commit df8c5d1

Browse files
author
Neal Muppidi
committed
fix styling error caught by github actions
1 parent 888fd82 commit df8c5d1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pandas/tests/indexing/test_at.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
CategoricalDtype,
1111
CategoricalIndex,
1212
DataFrame,
13+
DatetimeIndex,
1314
MultiIndex,
1415
Series,
1516
Timestamp,
1617
to_datetime,
17-
DatetimeIndex,
1818
)
1919
import pandas._testing as tm
2020

@@ -99,17 +99,17 @@ def test_at_setitem_categorical_missing(self):
9999

100100
tm.assert_frame_equal(df, expected)
101101

102-
@pytest.mark.parametrize("row", (to_datetime('2019-01-01'), '2019-01-01'))
102+
@pytest.mark.parametrize("row", (to_datetime("2019-01-01"), "2019-01-01"))
103103
def test_at_datetime_index(self, row):
104104
df = DataFrame(
105105
data=[[1] * 2] * 2,
106-
columns=['one', 'two'],
106+
columns=["one", "two"],
107107
index=DatetimeIndex(data=["2019-01-01", "2019-01-02"]),
108108
)
109109

110-
df.at[row, 'one'] = 0.5
111-
assert df.at[row, 'one'] == 0.5
112-
assert df['one'].dtype == 'float64'
110+
df.at[row, "one"] = 0.5
111+
assert df.at[row, "one"] == 0.5
112+
assert df["one"].dtype == "float64"
113113

114114
def test_at_setitem_multiindex(self):
115115
df = DataFrame(

0 commit comments

Comments
 (0)