summaryrefslogtreecommitdiff
path: root/numpy/core
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core')
-rw-r--r--numpy/core/tests/test_memmap.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/core/tests/test_memmap.py b/numpy/core/tests/test_memmap.py
index f643dacc1..c0c352230 100644
--- a/numpy/core/tests/test_memmap.py
+++ b/numpy/core/tests/test_memmap.py
@@ -41,6 +41,7 @@ class TestMemmap(TestCase):
shape=self.shape)
assert_(allclose(self.data, newfp))
assert_array_equal(self.data, newfp)
+ self.assertEqual(newfp.flags.writeable, False)
def test_open_with_filename(self):
tmpname = mktemp('', 'mmap', dir=self.tempdir)