summaryrefslogtreecommitdiffstats
path: root/ipatests/data.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipatests/data.py')
-rw-r--r--ipatests/data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipatests/data.py b/ipatests/data.py
index 7fe2002c6..7ea7e81fd 100644
--- a/ipatests/data.py
+++ b/ipatests/data.py
@@ -27,7 +27,7 @@ import struct
# A string that should have bytes 'x\00' through '\xff':
binary_bytes = b''.join(struct.pack('B', d) for d in range(256))
assert b'\x00' in binary_bytes and b'\xff' in binary_bytes
-assert type(binary_bytes) is str and len(binary_bytes) == 256
+assert type(binary_bytes) is bytes and len(binary_bytes) == 256
# A UTF-8 encoded str:
utf8_bytes = b'\xd0\x9f\xd0\xb0\xd0\xb2\xd0\xb5\xd0\xbb'