Skip to content

Commit cad79c1

Browse files
authored
tests: remove very minor oversight in PR #3059. (#3066)
1 parent fbae8f3 commit cad79c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_methods_and_attributes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ def test_accepts_none(msg):
431431
assert "incompatible function arguments" in str(excinfo.value)
432432

433433

434-
def test_casts_none(msg):
434+
def test_casts_none():
435435
"""#2778: implicit casting from None to object (not pointer)"""
436436
a = m.NoneCastTester()
437437
assert m.ok_obj_or_none(a) == -1

0 commit comments

Comments
 (0)