mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 13:15:12 +00:00
fix testcases on Python 3.x
This commit is contained in:
parent
d7efa4ff7b
commit
057d056139
@ -7,6 +7,6 @@ from example import return_class_1
|
|||||||
from example import return_class_2
|
from example import return_class_2
|
||||||
from example import return_none
|
from example import return_none
|
||||||
|
|
||||||
print(type(return_class_1()))
|
print(type(return_class_1()).__name__)
|
||||||
print(type(return_class_2()))
|
print(type(return_class_2()).__name__)
|
||||||
print(type(return_none()))
|
print(type(return_none()).__name__)
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
<class 'example.DerivedClass1'>
|
DerivedClass1
|
||||||
<class 'example.DerivedClass2'>
|
DerivedClass2
|
||||||
<type 'NoneType'>
|
NoneType
|
||||||
|
Loading…
Reference in New Issue
Block a user