Skip to content

Commit 29c13f6

Browse files
committed
run pre-commit checks
1 parent 5637c3e commit 29c13f6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/tests/groupby/test_groupby.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,8 +1265,7 @@ def test_groupby_nat_exclude():
12651265
tm.assert_frame_equal(grouped.get_group(Timestamp("2013-01-01")), df.iloc[[1, 7]])
12661266
tm.assert_frame_equal(grouped.get_group(Timestamp("2013-02-01")), df.iloc[[3, 5]])
12671267

1268-
# GH35014
1269-
with pytest.raises(KeyError):
1268+
with pytest.raises(KeyError, match=r"^NaT$"):
12701269
grouped.get_group(pd.NaT)
12711270

12721271
nan_df = DataFrame(

0 commit comments

Comments
 (0)