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
cad79c11
Unverified
Commit
cad79c11
authored
Jun 30, 2021
by
Ralf W. Grosse-Kunstleve
Committed by
GitHub
Jun 30, 2021
Browse files
tests: remove very minor oversight in PR #3059. (#3066)
parent
fbae8f31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/test_methods_and_attributes.py
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