diff options
author | Inada Naoki <songofacandy@gmail.com> | 2020-02-06 22:11:04 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-06 22:11:04 +0900 |
commit | 9d79351e99e435b8ca749d57a313441783f67133 (patch) | |
tree | 06d165456f90898aa74048ec86319213b35aff1f /test/test_pack.py | |
parent | ff1f5f89d997b40e60472c2820ea55cab752c779 (diff) | |
download | msgpack-python-9d79351e99e435b8ca749d57a313441783f67133.tar.gz |
Add some test for timestamp (#403)
Diffstat (limited to 'test/test_pack.py')
-rw-r--r-- | test/test_pack.py | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/test/test_pack.py b/test/test_pack.py index 932f760..a51d84c 100644 --- a/test/test_pack.py +++ b/test/test_pack.py @@ -49,7 +49,7 @@ def testPack(): False, (), ((),), - ((), None,), + ((), None), {None: 0}, (1 << 23), ] @@ -69,21 +69,13 @@ def testPackUnicode(): def testPackBytes(): - test_data = [ - b"", - b"abcd", - (b"defgh",), - ] + test_data = [b"", b"abcd", (b"defgh",)] for td in test_data: check(td) def testPackByteArrays(): - test_data = [ - bytearray(b""), - bytearray(b"abcd"), - (bytearray(b"defgh"),), - ] + test_data = [bytearray(b""), bytearray(b"abcd"), (bytearray(b"defgh"),)] for td in test_data: check(td) |