Skip to content

Commit d389884

Browse files
committed
lint fixup
1 parent 121108e commit d389884

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pandas/tests/frame/test_analytics.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -1172,24 +1172,24 @@ def test_min_max_dt64_with_NaT(self):
11721172
def test_min_max_dt64_with_NaT_skipna_false(self, tz_naive_fixture):
11731173
# GH#36907
11741174
tz = tz_naive_fixture
1175-
df = pd.DataFrame(
1175+
df = DataFrame(
11761176
{
11771177
"a": [
1178-
pd.Timestamp("2020-01-01 08:00:00", tz=tz),
1179-
pd.Timestamp("1920-02-01 09:00:00", tz=tz),
1178+
Timestamp("2020-01-01 08:00:00", tz=tz),
1179+
Timestamp("1920-02-01 09:00:00", tz=tz),
11801180
],
1181-
"b": [pd.Timestamp("2020-02-01 08:00:00", tz=tz), pd.NaT],
1181+
"b": [Timestamp("2020-02-01 08:00:00", tz=tz), pd.NaT],
11821182
}
11831183
)
11841184

11851185
res = df.min(axis=1, skipna=False)
1186-
expected = pd.Series([df.loc[0, "a"], pd.NaT])
1186+
expected = Series([df.loc[0, "a"], pd.NaT])
11871187
assert expected.dtype == df["a"].dtype
11881188

11891189
tm.assert_series_equal(res, expected)
11901190

11911191
res = df.max(axis=1, skipna=False)
1192-
expected = pd.Series([df.loc[0, "b"], pd.NaT])
1192+
expected = Series([df.loc[0, "b"], pd.NaT])
11931193
assert expected.dtype == df["a"].dtype
11941194

11951195
tm.assert_series_equal(res, expected)

0 commit comments

Comments
 (0)