File tree 2 files changed +0
-5
lines changed
2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -4048,9 +4048,6 @@ def test_Class_repr(self):
4048
4048
self .assertRegex (repr (cls ), r"<clinic.Class 'foo' at \d+>" )
4049
4049
4050
4050
def test_FunctionKind_repr (self ):
4051
- self .assertEqual (
4052
- repr (FunctionKind .INVALID ), "<clinic.FunctionKind.INVALID>"
4053
- )
4054
4051
self .assertEqual (
4055
4052
repr (FunctionKind .CLASS_METHOD ), "<clinic.FunctionKind.CLASS_METHOD>"
4056
4053
)
Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ def __repr__(self) -> str:
53
53
54
54
55
55
class FunctionKind (enum .Enum ):
56
- INVALID = enum .auto ()
57
56
CALLABLE = enum .auto ()
58
57
STATIC_METHOD = enum .auto ()
59
58
CLASS_METHOD = enum .auto ()
@@ -70,7 +69,6 @@ def __repr__(self) -> str:
70
69
return f"<clinic.FunctionKind.{ self .name } >"
71
70
72
71
73
- INVALID : Final = FunctionKind .INVALID
74
72
CALLABLE : Final = FunctionKind .CALLABLE
75
73
STATIC_METHOD : Final = FunctionKind .STATIC_METHOD
76
74
CLASS_METHOD : Final = FunctionKind .CLASS_METHOD
You can’t perform that action at this time.
0 commit comments