Home
last modified time | relevance | path

Searched refs:DataClass (Results 1 – 2 of 2) sorted by relevance

/external/fonttools/Tests/misc/
Dplistlib_test.py40 DataClass = bytes if use_builtin_types else plistlib.Data
57 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.Data
159 pl = DataClass(b"<binary gunk\0\1\2\3>")
163 assert isinstance(pl2, DataClass)
178 def test_bytes_data(DataClass, use_builtin_types): argument
179 pl = DataClass(b"<binary gunk\0\1\2\3>")
/external/python/cpython2/Lib/bsddb/test/
Dtest_dbshelve.py21 class DataClass: class
67 inst = DataClass() # add an instance
244 self.assertEqual(type(value), DataClass)