Commit 35c51c47 by Ivan Smirnov

A more strict bytes/str test

parent b6518590
...@@ -68,8 +68,8 @@ print("__module__(example.ExamplePythonTypes.get_set) = %s" % ExamplePythonTypes ...@@ -68,8 +68,8 @@ print("__module__(example.ExamplePythonTypes.get_set) = %s" % ExamplePythonTypes
print(instance.get_bytes_from_string().decode()) print(instance.get_bytes_from_string().decode())
print(instance.get_bytes_from_str().decode()) print(instance.get_bytes_from_str().decode())
print(instance.get_str_from_string()) print(instance.get_str_from_string().encode().decode())
print(instance.get_str_from_bytes()) print(instance.get_str_from_bytes().encode().decode())
from example import ConstructorStats from example import ConstructorStats
......
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