mercurial/thirdparty/cbor/__init__.py
author Gregory Szorc <gregory.szorc@gmail.com>
Tue, 22 Jan 2019 18:16:53 -0800
changeset 41321 724b4606528e
parent 37214 3bc609bcfe77
permissions -rw-r--r--
tests: use assertEqual() This avoids a deprecation warning under at least Python 3.7. Differential Revision: https://phab.mercurial-scm.org/D5653
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
37214
3bc609bcfe77 cbor: import CBORDecoder and CBOREncoder
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37128
diff changeset
     1
from .cbor2 import (
3bc609bcfe77 cbor: import CBORDecoder and CBOREncoder
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37128
diff changeset
     2
    CBORDecodeError,
3bc609bcfe77 cbor: import CBORDecoder and CBOREncoder
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37128
diff changeset
     3
    CBORDecoder,
3bc609bcfe77 cbor: import CBORDecoder and CBOREncoder
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37128
diff changeset
     4
    CBOREncodeError,
3bc609bcfe77 cbor: import CBORDecoder and CBOREncoder
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37128
diff changeset
     5
    CBOREncoder,
3bc609bcfe77 cbor: import CBORDecoder and CBOREncoder
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37128
diff changeset
     6
    dump,
3bc609bcfe77 cbor: import CBORDecoder and CBOREncoder
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37128
diff changeset
     7
    dumps,
3bc609bcfe77 cbor: import CBORDecoder and CBOREncoder
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37128
diff changeset
     8
    load,
3bc609bcfe77 cbor: import CBORDecoder and CBOREncoder
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37128
diff changeset
     9
    loads,
3bc609bcfe77 cbor: import CBORDecoder and CBOREncoder
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37128
diff changeset
    10
)