We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f60623 commit e7c94ecCopy full SHA for e7c94ec
scripts/tests/test_validate_docstrings.py
@@ -830,7 +830,7 @@ def test_bad_generic_functions(self, func):
830
('BadGenericDocStrings', 'method',
831
('Do not import pandas, as it is imported automatically',)),
832
('BadGenericDocStrings', 'method_wo_docstrings',
833
- ("The object does not have a docstring",)),
+ ("No docstring found",)),
834
# See Also tests
835
('BadSeeAlso', 'prefix_pandas',
836
('pandas.Series.rename in `See Also` section '
@@ -853,7 +853,6 @@ def test_bad_generic_functions(self, func):
853
('Double line break found; please use only one blank line to '
854
'separate sections or paragraphs, and do not leave blank lines '
855
'at the end of docstrings',)),
856
- ('NoDocstrings', 'method_wo_docstrings', ("No docstring found",)),
857
])
858
def test_bad_docstrings(self, capsys, klass, func, msgs):
859
result = validate_one(self._import_path(klass=klass, func=func))
0 commit comments