Skip to content

Commit f1d7822

Browse files
committed
test: update classmethod parameter in tests
1 parent e9ba4d6 commit f1d7822

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_class.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ def test_class_inheritance():
6868

6969

7070
def test_class_includes_classmethods_when_enabled():
71-
cls = Class(ExampleClassC, class_method=True)
71+
cls = Class(ExampleClassC, classmethod=True)
7272
assert "class_method" in [method.name for method in cls.methods]
7373

7474

7575
def test_instance_classmethod_filter_only_excludes_classmethods():
7676
instance = ExampleClassC()
77-
cls = Class(instance, class_method=False)
77+
cls = Class(instance, classmethod=False)
7878
method_names = [method.name for method in cls.methods]
7979
assert "public_method" in method_names
8080
assert "class_method" not in method_names

0 commit comments

Comments
 (0)