Skip to content

Commit 2959276

Browse files
committed
Tag deprecation tests with PR
1 parent c478d20 commit 2959276

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pandas/tests/indexes/datetimes/test_misc.py

+1
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,7 @@ def test_iter_readonly():
387387

388388

389389
def test_week_and_weekofyear_are_deprecated():
390+
# GH#33595 Deprecate week and weekofyear
390391
idx = pd.date_range(start="2019-12-29", freq="D", periods=4)
391392
with tm.assert_produces_warning(FutureWarning):
392393
idx.week

pandas/tests/series/test_datetime_values.py

+1
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,7 @@ def test_isocalendar(self, input_series, expected_output):
689689

690690

691691
def test_week_and_weekofyear_are_deprecated():
692+
# GH#33595 Deprecate week and weekofyear
692693
series = pd.to_datetime(pd.Series(["2020-01-01"]))
693694
with tm.assert_produces_warning(FutureWarning):
694695
series.dt.week

0 commit comments

Comments
 (0)