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
cad79c11
Unverified
Commit
cad79c11
authored
Jun 30, 2021
by
Ralf W. Grosse-Kunstleve
Committed by
GitHub
Jun 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: remove very minor oversight in PR #3059. (#3066)
parent
fbae8f31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
tests/test_methods_and_attributes.py
+1
-1
No files found.
tests/test_methods_and_attributes.py
View file @
cad79c11
...
@@ -431,7 +431,7 @@ def test_accepts_none(msg):
...
@@ -431,7 +431,7 @@ def test_accepts_none(msg):
assert
"incompatible function arguments"
in
str
(
excinfo
.
value
)
assert
"incompatible function arguments"
in
str
(
excinfo
.
value
)
def
test_casts_none
(
msg
):
def
test_casts_none
():
"""#2778: implicit casting from None to object (not pointer)"""
"""#2778: implicit casting from None to object (not pointer)"""
a
=
m
.
NoneCastTester
()
a
=
m
.
NoneCastTester
()
assert
m
.
ok_obj_or_none
(
a
)
==
-
1
assert
m
.
ok_obj_or_none
(
a
)
==
-
1
...
...
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