summaryrefslogtreecommitdiff
path: root/numpy/tests/test_public_api.py
Commit message (Collapse)AuthorAgeFilesLines
* TST: remove random.entropy from public API test, it was removed in gh-14498Ralf Gommers2019-09-191-1/+0
|
* TST: make xfailed test for modules in public API pass.Ralf Gommers2019-09-191-3/+35
|
* TST: add comment on public/semi-private modules.Ralf Gommers2019-09-191-21/+31
| | | | Also address other review comments.
* MAINT: add missing 'Arrayterator' to `numpy.lib.__all__`Ralf Gommers2019-09-191-5/+6
| | | | | | | Also finish the TODO about figuring out which np.lib.<submodule>'s are public. This is a giant mess ...
* TST: add details to the public modules test about how to check public-nessRalf Gommers2019-09-191-0/+15
|
* TST: add `core/generate_numpy_api.py` to private-but-present modulesRalf Gommers2019-09-191-0/+1
|
* TST: add test to prevent new public-looking modules being addedRalf Gommers2019-09-191-1/+288
|
* MAINT: Lazy import testing on python >=3.7 (#14097)Mark Harfouche2019-08-221-0/+23
| | | | | On new python versions, the module level `__getattr__` can be used to import testing and Tester only when needed (at no speed cost, except for the first time import). Since most users never use testing, this avoids an expensive import.
* DOC: Added maximum_sctype to documentationJoseph Fox-Rabinovitz2019-02-271-1/+0
|
* BUG: test, fix NPY_VISIBILITY_HIDDEN on gcc, which becomes NPY_NO_EXPORTmattip2018-11-221-1/+13
|
* MAINT: fix tests on Python 2Stephan Hoyer2018-11-141-0/+6
|
* MAINT: separate builtins and undocumented functionsStephan Hoyer2018-11-131-8/+12
|
* DOC: add a comment explaining why we use normal assertStephan Hoyer2018-11-131-0/+2
|
* ENH: set correct __module__ for objects in numpy's public APIStephan Hoyer2018-11-131-0/+65
Fixes GH-12271 Tests verify that everything in ``dir(numpy)`` either has ``__module__`` set to ``'numpy'``, or appears in an explicit whitelist of undocumented functions and exported bulitins. These should eventually be documented or removed. I also identified a handful of functions for which I had accidentally not setup dispatch for with ``__array_function__`` before, because they were listed under "ndarray methods" in ``_add_newdocs.py``. I guess that should be a lesson in trusting code comments :).