Skip to content

Commit b30e1cd

Browse files
committed
Ignore DeprecationWarning in test_docstring_parameters caused by numpydoc on Python 3.7
1 parent 1a27160 commit b30e1cd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sklearn/tests/test_docstring_parameters.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@
6060
]
6161

6262

63+
# numpydoc 0.8.0's docscrape tool raises because of collections.abc under
64+
# Python 3.7
65+
@ignore_warnings(category=DeprecationWarning)
6366
def test_docstring_parameters():
6467
# Test module docstring formatting
6568

0 commit comments

Comments
 (0)