diff --git a/example/example-python-types.py b/example/example-python-types.py index 19df02ebd..1184f720a 100755 --- a/example/example-python-types.py +++ b/example/example-python-types.py @@ -68,8 +68,8 @@ print("__module__(example.ExamplePythonTypes.get_set) = %s" % ExamplePythonTypes print(instance.get_bytes_from_string().decode()) print(instance.get_bytes_from_str().decode()) -print(instance.get_str_from_string()) -print(instance.get_str_from_bytes()) +print(instance.get_str_from_string().encode().decode()) +print(instance.get_str_from_bytes().encode().decode()) from example import ConstructorStats