summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2018-03-12 22:47:12 +0000
committerNathaniel J. Smith <njs@pobox.com>2018-03-12 15:47:12 -0700
commite97de95d4cae6805ed6c258655e7492a5f2ce863 (patch)
treeffea6426cc80a5f6f8f77a73b219ef3aac840c15 /numpy/lib/function_base.py
parent5324067c702a41e901354a01a5f0d05ff49b6cb4 (diff)
downloadnumpy-e97de95d4cae6805ed6c258655e7492a5f2ce863.tar.gz
Fix low-hanging Pypy compatibility issues (#10737)
* TST: skip refcount-requiring tests if sys.refcount is missing * ENH: io: add refcheck=False to a safe .resize() call The array is allocated immediately above, and the resize always succeeds so it is not necessary to check it. Fixes Pypy compatibility. * TST: remove unused code * TST: factor skipif(not HAS_REFCOUNT) into a separate decorator
Diffstat (limited to 'numpy/lib/function_base.py')
0 files changed, 0 insertions, 0 deletions