Commit 9f1330fc authored by Stefan Behnel's avatar Stefan Behnel

Fix string type issue in gdb test.

parent dadbcffa
...@@ -56,7 +56,7 @@ class TestPrettyPrinters(test_libcython_in_gdb.DebugTestCase): ...@@ -56,7 +56,7 @@ class TestPrettyPrinters(test_libcython_in_gdb.DebugTestCase):
else: else:
funcname = 'PyBytes_FromStringAndSize' funcname = 'PyBytes_FromStringAndSize'
assert '"' not in string assert b'"' not in string
# ensure double quotes # ensure double quotes
code = '(PyObject *) %s("%s", %d)' % (funcname, string, len(string)) code = '(PyObject *) %s("%s", %d)' % (funcname, string, len(string))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment