Fix wrong assert in unicodeobject (GH-5340)

1 file changed