mirror of
https://github.com/pybind/pybind11.git
synced 2025-01-31 15:20:34 +00:00
A more strict bytes/str test
This commit is contained in:
parent
b65185906d
commit
35c51c477b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user