summaryrefslogtreecommitdiff
path: root/c
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2020-10-14 10:03:02 +0200
committerArmin Rigo <arigo@tunes.org>2020-10-14 10:03:02 +0200
commit751f5adef7bd714b0e453d6d0d678177e8eb727f (patch)
tree0eb35bf7baefaec5ddff68c176c50d8ebbfc1928 /c
parentef64e896958e20f577003341fab4fbd14f4cfb18 (diff)
downloadcffi-751f5adef7bd714b0e453d6d0d678177e8eb727f.tar.gz
py3
Diffstat (limited to 'c')
-rw-r--r--c/test_c.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/test_c.py b/c/test_c.py
index 95ca812..643cc90 100644
--- a/c/test_c.py
+++ b/c/test_c.py
@@ -4515,5 +4515,5 @@ def test_unaligned_types():
pbuf1 = cast(new_pointer_type(p), pbuf + 1)
pbuf1[0] = num
assert pbuf1[0] == num
- assert buf[0] == '\x00'
- assert buf[1 + size] == '\x00'
+ assert buf[0] == b'\x00'
+ assert buf[1 + size] == b'\x00'