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

This commit is contained in:
Ralf W. Grosse-Kunstleve 2021-06-30 14:30:26 -07:00 committed by GitHub
parent fbae8f313b
commit cad79c1146
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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