(self)
| 645 | "generated data was not identical to Apple's output") |
| 646 | |
| 647 | def test_appleformattingfromliteral(self): |
| 648 | self.maxDiff = None |
| 649 | for fmt in ALL_FORMATS: |
| 650 | with self.subTest(fmt=fmt): |
| 651 | pl = self._create(fmt=fmt) |
| 652 | pl2 = plistlib.loads(TESTDATA[fmt], fmt=fmt) |
| 653 | self.assertEqual(dict(pl), dict(pl2), |
| 654 | "generated data was not identical to Apple's output") |
| 655 | pl2 = plistlib.loads(TESTDATA[fmt]) |
| 656 | self.assertEqual(dict(pl), dict(pl2), |
| 657 | "generated data was not identical to Apple's output") |
| 658 | |
| 659 | def test_bytesio(self): |
| 660 | for fmt in ALL_FORMATS: |
nothing calls this directly
no test coverage detected