Home | History | Annotate | Download | only in test

Lines Matching refs:pl

99         pl = dict(
116 pl[u'\xc5benraa'] = "That was a unicode key."
117 return pl
120 pl = self._create()
121 self.assertEqual(pl["aString"], "Doodah")
122 self.assertEqual(pl["aDict"]["aFalseValue"], False)
125 pl = self._create()
126 plistlib.writePlist(pl, test_support.TESTFN)
128 self.assertEqual(dict(pl), dict(pl2))
131 pl = self._create()
132 data = plistlib.writePlistToString(pl)
134 self.assertEqual(dict(pl), dict(pl2))
151 pl = plistlib.readPlistFromString(TESTDATA)
152 data = plistlib.writePlistToString(pl)
157 pl = self._create()
159 self.assertEqual(dict(pl), dict(pl2),
165 pl = self._create()
166 plistlib.writePlist(pl, f)
168 self.assertEqual(dict(pl), dict(pl2))
173 pl = self._create()
174 plistlib.writePlist(pl, f)
176 self.assertEqual(dict(pl), dict(pl2))