summaryrefslogtreecommitdiff
path: root/numpy/polynomial/polyutils.py
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2014-01-13 21:49:33 +0200
committerPauli Virtanen <pav@iki.fi>2014-01-13 22:07:51 +0200
commitfeadae424d73877522a691789f46957453c32a72 (patch)
treebc4f1d8b319283f261ecb31ba891e4a8580fb916 /numpy/polynomial/polyutils.py
parent0b85f91364729286fe4e6f5343c31015d8248012 (diff)
downloadnumpy-feadae424d73877522a691789f46957453c32a72.tar.gz
TST: core: fix tofile file positioning test
Python 2 I/O is a thin wrapper on FILE* C-API. All Python code must follow the ANSI C requirement (see man fopen) that there is a seek or a flush between reads and writes, otherwise the behavior is undefined. Whether this is required depends on the CRT implementation; glibc doesn't seem to require it, but OSX apparently does. Fixes gh-4189
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions