Commit cad79c11 by Ralf W. Grosse-Kunstleve Committed by GitHub

tests: remove very minor oversight in PR #3059. (#3066)

parent fbae8f31
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment