Commit 3c0c5f29 authored by Antoine Pitrou's avatar Antoine Pitrou

Fix test_gdb following the small unicode struct change in c25262e97304 (issue #13130)

parent 388349ad
...@@ -1152,7 +1152,7 @@ class PyUnicodeObjectPtr(PyObjectPtr): ...@@ -1152,7 +1152,7 @@ class PyUnicodeObjectPtr(PyObjectPtr):
field_str = field_str.cast(_type_unsigned_char_ptr) field_str = field_str.cast(_type_unsigned_char_ptr)
elif repr_kind == 2: elif repr_kind == 2:
field_str = field_str.cast(_type_unsigned_short_ptr) field_str = field_str.cast(_type_unsigned_short_ptr)
elif repr_kind == 3: elif repr_kind == 4:
field_str = field_str.cast(_type_unsigned_int_ptr) field_str = field_str.cast(_type_unsigned_int_ptr)
else: else:
# Python 3.2 and earlier # Python 3.2 and earlier
......
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