Searched refs:DataClass (Results 1 – 2 of 2) sorted by relevance
40 DataClass = bytes if use_builtin_types else plistlib.Data57 someData=DataClass(b"<binary gunk>"),58 someMoreData=DataClass(b"<lots of binary gunk>\0\1\2\3" * 10),59 nestedData=[DataClass(b"<lots of binary gunk>\0\1\2\3" * 10)],158 DataClass = bytes if use_builtin_types else plistlib.Data159 pl = DataClass(b"<binary gunk\0\1\2\3>")163 assert isinstance(pl2, DataClass)178 def test_bytes_data(DataClass, use_builtin_types): argument179 pl = DataClass(b"<binary gunk\0\1\2\3>")
21 class DataClass: class67 inst = DataClass() # add an instance244 self.assertEqual(type(value), DataClass)