Skip to content

Commit 2627fb4

Browse files
committed
test(test_docscrape.py): use strict and include 4th parameter check for the docscrape test
1 parent 9899bcd commit 2627fb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpydoc/tests/test_docscrape.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def test_extended_summary(doc):
187187
def test_parameters(doc):
188188
assert len(doc["Parameters"]) == 4
189189
names = [n for n, _, _ in doc["Parameters"]]
190-
assert all(a == b for a, b in zip(names, ["mean", "cov", "shape"], strict=True))
190+
assert all(a == b for a, b in zip(names, ["mean", "cov", "shape", "dtype"], strict=True))
191191

192192
arg, arg_type, desc = doc["Parameters"][1]
193193
assert arg_type == "(N, N) ndarray"

0 commit comments

Comments
 (0)