diff options
author | Jarrod Millman <millman@berkeley.edu> | 2008-09-02 20:32:38 +0000 |
---|---|---|
committer | Jarrod Millman <millman@berkeley.edu> | 2008-09-02 20:32:38 +0000 |
commit | d29107a248130bbb68ecac58d6720d716529141c (patch) | |
tree | 9e1408025c80d63fe9fa6151343a7b265ec3f654 /numpy/lib/tests/test_format.py | |
parent | a4a7966cf7191c28a7054127fd3717d6c760d556 (diff) | |
download | numpy-d29107a248130bbb68ecac58d6720d716529141c.tar.gz |
reindenting prior to release
Diffstat (limited to 'numpy/lib/tests/test_format.py')
-rw-r--r-- | numpy/lib/tests/test_format.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/lib/tests/test_format.py b/numpy/lib/tests/test_format.py index 073af3dac..35558400f 100644 --- a/numpy/lib/tests/test_format.py +++ b/numpy/lib/tests/test_format.py @@ -434,13 +434,13 @@ def test_memmap_roundtrip(): format.write_array(fp, arr) finally: fp.close() - + fortran_order = (arr.flags.f_contiguous and not arr.flags.c_contiguous) ma = format.open_memmap(mfn, mode='w+', dtype=arr.dtype, shape=arr.shape, fortran_order=fortran_order) ma[...] = arr del ma - + # Check that both of these files' contents are the same. fp = open(nfn, 'rb') normal_bytes = fp.read() @@ -449,7 +449,7 @@ def test_memmap_roundtrip(): memmap_bytes = fp.read() fp.close() yield assert_equal, normal_bytes, memmap_bytes - + # Check that reading the file using memmap works. ma = format.open_memmap(nfn, mode='r') #yield assert_array_equal, ma, arr |