aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-10-03 19:33:09 +0300
committerMatti Picus <matti.picus@gmail.com>2020-10-03 19:33:09 +0300
commit5e175a09984377c8922c1d4fefe3cf508610287b (patch)
tree1280dbf95efbc1d4b80ea3d9b305cbde9d6ce854 /extra_tests/cffi_tests
parentredo moved tests, flake8 (diff)
downloadpypy-5e175a09984377c8922c1d4fefe3cf508610287b.tar.gz
pypy-5e175a09984377c8922c1d4fefe3cf508610287b.tar.bz2
pypy-5e175a09984377c8922c1d4fefe3cf508610287b.zip
small fixes
Diffstat (limited to 'extra_tests/cffi_tests')
-rw-r--r--extra_tests/cffi_tests/test_c.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra_tests/cffi_tests/test_c.py b/extra_tests/cffi_tests/test_c.py
index 95ca81274a..643cc904ee 100644
--- a/extra_tests/cffi_tests/test_c.py
+++ b/extra_tests/cffi_tests/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'