Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
057d0561
Commit
057d0561
authored
Apr 13, 2016
by
Wenzel Jakob
Browse files
fix testcases on Python 3.x
parent
d7efa4ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
example/example16.py
example/example16.py
+3
-3
example/example16.ref
example/example16.ref
+3
-3
No files found.
example/example16.py
View file @
057d0561
...
...
@@ -7,6 +7,6 @@ from example import return_class_1
from
example
import
return_class_2
from
example
import
return_none
print
(
type
(
return_class_1
()))
print
(
type
(
return_class_2
()))
print
(
type
(
return_none
()))
print
(
type
(
return_class_1
())
.
__name__
)
print
(
type
(
return_class_2
())
.
__name__
)
print
(
type
(
return_none
())
.
__name__
)
example/example16.ref
View file @
057d0561
<class 'example.
DerivedClass1
'>
<class 'example.
DerivedClass2
'>
<type '
NoneType
'>
DerivedClass1
DerivedClass2
NoneType
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment