summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_format.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2014-10-12 13:01:57 -0600
committerCharles Harris <charlesr.harris@gmail.com>2014-10-12 17:40:49 -0600
commit8f068b7866a2959392fae2a15c1a5a19ff79bae9 (patch)
treed4a5c17802b5cb8e63fe0546cb93d4ded9343edf /numpy/lib/tests/test_format.py
parent017969b193a135cd3bb63d5704bd11b62449f34e (diff)
downloadnumpy-8f068b7866a2959392fae2a15c1a5a19ff79bae9.tar.gz
BUG: Make python2 *.npy files readable in python3.
The Python2 generated file had long integer literals like '1L' that broke in Python3. The fix here is to filter out the 'L' and let safe_eval take care of the integer type in converting the string. The fix here comes from Nathaniel Smith with a few added fixups. Closes #5170.
Diffstat (limited to 'numpy/lib/tests/test_format.py')
0 files changed, 0 insertions, 0 deletions