(self)
| 532 | self.assert_not_shareable([obj]) |
| 533 | |
| 534 | def test_not_shareable(self): |
| 535 | with ignore_byteswarning(): |
| 536 | for obj in NOT_SHAREABLE: |
| 537 | if type(obj) is types.MappingProxyType: |
| 538 | self.assert_not_shareable([obj]) |
| 539 | elif obj in PICKLEABLE: |
| 540 | with self.subTest(repr(obj)): |
| 541 | # We don't worry about checking the actual value. |
| 542 | # The other tests should cover that well enough. |
| 543 | got = self.get_roundtrip(obj) |
| 544 | self.assertIs(type(got), type(obj)) |
| 545 | else: |
| 546 | self.assert_not_shareable([obj]) |
| 547 | |
| 548 | def test_list(self): |
| 549 | self.assert_roundtrip_equal_not_identical([ |
nothing calls this directly
no test coverage detected