(self)
| 429 | assert a.has_shared_memory() |
| 430 | |
| 431 | def test_inout_2seq(self): |
| 432 | obj = np.array(self.num2seq, dtype=self.type.dtype) |
| 433 | a = self.array([len(self.num2seq)], intent.inout, obj) |
| 434 | assert a.has_shared_memory() |
| 435 | |
| 436 | try: |
| 437 | a = self.array([2], intent.in_.inout, self.num2seq) |
| 438 | except TypeError as msg: |
| 439 | if not str(msg).startswith( |
| 440 | "failed to initialize intent(inout|inplace|cache) array"): |
| 441 | raise |
| 442 | else: |
| 443 | raise SystemError("intent(inout) should have failed on sequence") |
| 444 | |
| 445 | def test_f_inout_23seq(self): |
| 446 | obj = np.array(self.num23seq, dtype=self.type.dtype, order="F") |
nothing calls this directly
no test coverage detected