summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_packbits.py
diff options
context:
space:
mode:
authorRonan Lamy <ronan.lamy@gmail.com>2017-02-08 20:21:59 +0000
committerRonan Lamy <ronan.lamy@gmail.com>2017-02-08 20:21:59 +0000
commitde988b40c704d1772f629e5a6d0a4e8748f057fc (patch)
tree46520d9eeefd25851348f682a3de6b8924ec5732 /numpy/lib/tests/test_packbits.py
parent98b3127fa61e09387e1f7cf925acfcb36043e48a (diff)
downloadnumpy-de988b40c704d1772f629e5a6d0a4e8748f057fc.tar.gz
TST: Replace use of sys.getsizeof() with explicit computation of unicode representation size
This is for PyPy3 compatibility: sys.getsizeof() is CPython-specific and there doesn't seem to be a pure-Python way of getting the size of the internal PEP393 Unicode representation, so recompute it using documented invariants.
Diffstat (limited to 'numpy/lib/tests/test_packbits.py')
0 files changed, 0 insertions, 0 deletions