(self, dtype)
| 3441 | 'O', 'OWNDATA'] |
| 3442 | |
| 3443 | def generate_all_false(self, dtype): |
| 3444 | arr = np.zeros((2, 2), [('junk', 'i1'), ('a', dtype)]) |
| 3445 | arr.setflags(write=False) |
| 3446 | a = arr['a'] |
| 3447 | assert_(not a.flags['C']) |
| 3448 | assert_(not a.flags['F']) |
| 3449 | assert_(not a.flags['O']) |
| 3450 | assert_(not a.flags['W']) |
| 3451 | assert_(not a.flags['A']) |
| 3452 | return a |
| 3453 | |
| 3454 | def set_and_check_flag(self, flag, dtype, arr): |
| 3455 | if dtype is None: |
no test coverage detected