Skip to content

Commit 8a4572b

Browse files
authored
BUG: Fix validation script not printing docstring is correct (pandas-dev#34228) (pandas-dev#34236)
1 parent e41ee47 commit 8a4572b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/validate_docstrings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ def header(title, width=80, char="#"):
360360
sys.stderr.write("\tExamples do not pass tests\n")
361361
continue
362362
sys.stderr.write(f"\t{err_desc}\n")
363-
elif result["errors"]:
363+
else:
364364
sys.stderr.write(f'Docstring for "{func_name}" correct. :)\n')
365365

366366
if result["examples_errs"]:

0 commit comments

Comments
 (0)