Skip to content
Merged
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
12 changes: 7 additions & 5 deletions scipy_doctest/tests/module_cases.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
__all__ = [
'func', 'func2', 'func3', 'func4', 'func5', 'func6', 'func8',
'func7', 'manip_printoptions', 'array_abbreviation'
]

""" A collection of test cases.
"""

def func():
"""
Expand Down Expand Up @@ -272,3 +269,8 @@ def list_of_tuples_numeric():
>>> [(1, 1/3), (2, 2/3)]
[(1, 0.333), (2, 0.667)]
"""


# This is used by test_testmod.py::test_public_object_discovery
# While in test we only need __all__ to be not empty, let's make it correct, too.
__all__ = [x for x in vars().keys() if not x.startswith("_")]