Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sphinx/ext/napoleon/docstring.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def __init__(
self._what: _AutodocObjType | Literal['object'] = what
self._name = name
self._obj = obj
if options:
if options is not None:
try:
self._no_index = options.no_index or options.noindex
except (AttributeError, TypeError):
Expand Down
6 changes: 1 addition & 5 deletions tests/test_ext_autodoc/test_ext_autodoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2639,11 +2639,7 @@ def test_singledispatchmethod_classmethod_automethod() -> None:
]


@pytest.mark.skipif(
sys.version_info[:2] >= (3, 13),
reason='Cython does not support Python 3.13 yet.',
)
@pytest.mark.skipif(pyximport is None, reason='cython is not installed')
@pytest.mark.skipif(pyximport is None, reason='Cython is not installed')
def test_cython() -> None:
options = {
'members': None,
Expand Down
Loading