summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorMark Harfouche <mark.harfouche@gmail.com>2019-08-22 09:14:09 -0400
committerSebastian Berg <sebastian@sipsolutions.net>2019-08-22 08:14:09 -0500
commit3ca0eb1136102ff01bcc171f53c106326fa4445b (patch)
tree5c9269af8045f7f37e328a13a2e04963bcfae8ed /numpy/core/fromnumeric.py
parentb6a3ab58a9283de32b891072169498487914ee62 (diff)
downloadnumpy-3ca0eb1136102ff01bcc171f53c106326fa4445b.tar.gz
MAINT: Lazy import testing on python >=3.7 (#14097)
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.
Diffstat (limited to 'numpy/core/fromnumeric.py')
0 files changed, 0 insertions, 0 deletions