Skip to content

Commit ca409f4

Browse files
committed
BUG: add workaround for pytest assertion rewriting overreach
closes scipygh-22236 see discussion of upstream bug from pytest-dev/pytest#10845 (comment)
1 parent 47a599a commit ca409f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scipy/ndimage/_ndimage_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
from ._measurements import * # noqa: F403
1313
from ._morphology import * # noqa: F403
1414

15-
__all__ = [s for s in dir() if not s.startswith('_')]
15+
__all__ = [s for s in dir() if not s.startswith(('_', '@'))]

0 commit comments

Comments
 (0)