test_array.py: Some versions of numpy throw ValueError for read-only