summaryrefslogtreecommitdiff
path: root/test/test_pack.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_pack.py')
-rw-r--r--test/test_pack.py14
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)