Skip to content

Commit ad38ad3

Browse files
Add description to unittest
1 parent f56796a commit ad38ad3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/tests/tools/test_to_timedelta.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ def test_to_timedelta_invalid(self):
137137
],
138138
)
139139
def test_unambiguous_timedelta_values(self, val, warning):
140+
# GH36666 Deprecate use of strings denoting units with 'M', 'Y', 'm' or 'y'
141+
# in pd.to_timedelta
140142
with tm.assert_produces_warning(warning):
141143
to_timedelta(val)
142144

0 commit comments

Comments
 (0)