From 90cb135ee1a75555916fce649881b9dc986d1734 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Wed, 30 Jun 2021 13:37:29 -0700 Subject: [PATCH] Fixing very minor oversight in PR #3059. --- tests/test_methods_and_attributes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_methods_and_attributes.py b/tests/test_methods_and_attributes.py index 89b7225a97..750ec02f89 100644 --- a/tests/test_methods_and_attributes.py +++ b/tests/test_methods_and_attributes.py @@ -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