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