Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11
Commits
c29d8ca0
Commit
c29d8ca0
authored
Dec 24, 2020
by
Ralf W. Grosse-Kunstleve
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing up-down mixup in comment
parent
02e09035
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
tests/test_smart_ptr_private_first_base.py
+1
-1
No files found.
tests/test_smart_ptr_private_first_base.py
View file @
c29d8ca0
...
@@ -12,7 +12,7 @@ def test_make_drvd_pass_base():
...
@@ -12,7 +12,7 @@ def test_make_drvd_pass_base():
def
test_make_drvd_up_cast_pass_drvd
():
def
test_make_drvd_up_cast_pass_drvd
():
b
=
m
.
make_shared_drvd_up_cast
()
b
=
m
.
make_shared_drvd_up_cast
()
# the base return is
up
-cast immediately.
# the base return is
down
-cast immediately.
assert
b
.
__class__
.
__name__
==
"drvd"
assert
b
.
__class__
.
__name__
==
"drvd"
i
=
m
.
pass_shared_drvd
(
b
)
i
=
m
.
pass_shared_drvd
(
b
)
assert
i
==
200
assert
i
==
200
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