(me, *args, **kwargs)
| 2208 | |
| 2209 | class B2(self.basetype): |
| 2210 | def __init__(me, *args, **kwargs): |
| 2211 | if self.basetype is not bytes: |
| 2212 | self.basetype.__init__(me, *args, **kwargs) |
| 2213 | me.foo = 'bar' |
| 2214 | |
| 2215 | b = B2.fromhex('1a2B30') |
| 2216 | self.assertEqual(b, b'\x1a\x2b\x30') |