fix testcases on Python 3.x

This commit is contained in:
Wenzel Jakob 2016-04-13 14:42:17 +02:00
parent d7efa4ff7b
commit 057d056139
2 changed files with 6 additions and 6 deletions

View File

@ -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__)

View File

@ -1,3 +1,3 @@
<class 'example.DerivedClass1'> DerivedClass1
<class 'example.DerivedClass2'> DerivedClass2
<type 'NoneType'> NoneType