mirror of
https://github.com/pybind/pybind11.git
synced 2026-04-15 20:50:37 +00:00
A more strict bytes/str test
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user