We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9ba4d6 commit f1d7822Copy full SHA for f1d7822
1 file changed
tests/test_class.py
@@ -68,13 +68,13 @@ def test_class_inheritance():
68
69
70
def test_class_includes_classmethods_when_enabled():
71
- cls = Class(ExampleClassC, class_method=True)
+ cls = Class(ExampleClassC, classmethod=True)
72
assert "class_method" in [method.name for method in cls.methods]
73
74
75
def test_instance_classmethod_filter_only_excludes_classmethods():
76
instance = ExampleClassC()
77
- cls = Class(instance, class_method=False)
+ cls = Class(instance, classmethod=False)
78
method_names = [method.name for method in cls.methods]
79
assert "public_method" in method_names
80
assert "class_method" not in method_names
0 commit comments