Skip to content

Commit

Permalink
tests: remove very minor oversight in PR #3059. (#3066)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralf W. Grosse-Kunstleve authored Jun 30, 2021
1 parent fbae8f3 commit cad79c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_methods_and_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ def test_accepts_none(msg):
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)"""
a = m.NoneCastTester()
assert m.ok_obj_or_none(a) == -1
Expand Down

0 comments on commit cad79c1

Please sign in to comment.