Skip to content

Commit 27c94f6

Browse files
committed
remove unnecessary __str__ in test
1 parent 5bfecc8 commit 27c94f6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

django_enum/tests/enum_prop/enums.py

-3
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,6 @@ class ExternEnum(IntEnumProperties, s('label', case_fold=True)):
107107
TWO = 2, 'Two'
108108
THREE = 3, 'Three'
109109

110-
def __str__(self):
111-
return self.label
112-
113110

114111
except (ImportError, ModuleNotFoundError): # pragma: no cover
115112
pass

0 commit comments

Comments
 (0)