(self)
| 480 | assert dst.format() == self.data.format() |
| 481 | |
| 482 | def testCopyNestedArray(self): |
| 483 | nested = [Array(UNDESCRIBED, Data.LIST, |
| 484 | ["first", [Array(UNDESCRIBED, Data.INT, 1, 2, 3)]], |
| 485 | ["second", [Array(UNDESCRIBED, Data.INT, 1, 2, 3)]], |
| 486 | ["third", [Array(UNDESCRIBED, Data.INT, 1, 2, 3)]], |
| 487 | ), |
| 488 | "end"] |
| 489 | self.data.put_object(nested) |
| 490 | dst = Data() |
| 491 | dst.copy(self.data) |
| 492 | assert dst.format() == self.data.format() |
| 493 | |
| 494 | def testRoundTrip(self): |
| 495 | obj = {symbol("key"): timestamp(1234), |
nothing calls this directly
no test coverage detected