Skip to content

Commit 90995ca

Browse files
committed
Ignore week and weekofyear in tests
These were previously included in DatetimeArrary._datetimelike_ops, and were ignored in the test because of that. Since they needed to be removed from that list to deprecate the `week` and `weekofyear` attributes, we must explicitly ignore them in this test.
1 parent 0f2171d commit 90995ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/series/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ def test_dt_accessor_api_for_categorical(self):
689689
_special_func_names = [f[0] for f in special_func_defs]
690690

691691
# the series is already localized
692-
_ignore_names = ["tz_localize", "components"]
692+
_ignore_names = ["tz_localize", "components", "week", "weekofyear"]
693693

694694
for name, attr_names, s, c in test_data:
695695
func_names = [

0 commit comments

Comments
 (0)