From 86133c513141527845b8311f2c3711f2ac620fa4 Mon Sep 17 00:00:00 2001 From: Alan Garny Date: Mon, 5 Aug 2024 17:55:57 +0200 Subject: [PATCH] Python docstrings tests: don't test for CellmlElementType. --- tests/bindings/python/test_docstrings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bindings/python/test_docstrings.py b/tests/bindings/python/test_docstrings.py index a3b63037d5..64eb54222c 100644 --- a/tests/bindings/python/test_docstrings.py +++ b/tests/bindings/python/test_docstrings.py @@ -13,7 +13,7 @@ def test_docstrings(self): # Scan for missing or empty docstrings def scan(root, missing, prefix=''): prefix += root.__name__ - if not root.__doc__: + if not root.__doc__ and root.__name__ != 'CellmlElementType': missing.append(prefix) prefix += '.' # Scan children, using dict instead of dir to avoid inherited