File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Expand file tree Collapse file tree 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):
40484048 self .assertRegex (repr (cls ), r"<clinic.Class 'foo' at \d+>" )
40494049
40504050 def test_FunctionKind_repr (self ):
4051- self .assertEqual (
4052- repr (FunctionKind .INVALID ), "<clinic.FunctionKind.INVALID>"
4053- )
40544051 self .assertEqual (
40554052 repr (FunctionKind .CLASS_METHOD ), "<clinic.FunctionKind.CLASS_METHOD>"
40564053 )
Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ def __repr__(self) -> str:
5353
5454
5555class FunctionKind (enum .Enum ):
56- INVALID = enum .auto ()
5756 CALLABLE = enum .auto ()
5857 STATIC_METHOD = enum .auto ()
5958 CLASS_METHOD = enum .auto ()
@@ -70,7 +69,6 @@ def __repr__(self) -> str:
7069 return f"<clinic.FunctionKind.{ self .name } >"
7170
7271
73- INVALID : Final = FunctionKind .INVALID
7472CALLABLE : Final = FunctionKind .CALLABLE
7573STATIC_METHOD : Final = FunctionKind .STATIC_METHOD
7674CLASS_METHOD : Final = FunctionKind .CLASS_METHOD
You can’t perform that action at this time.
0 commit comments