Skip to content

Commit 1b6696c

Browse files
committed
removed __new__
1 parent f5f136b commit 1b6696c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

codeflash/verification/test_results.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ class VerificationType(str, Enum):
2929
INIT_STATE_FTO = "init_state_fto" # Correctness verification for fto class instance attributes after init
3030
INIT_STATE_HELPER = "init_state_helper" # Correctness verification for helper class instance attributes after init
3131

32-
def __new__(cls, value: str) -> VerificationType | None:
33-
obj = str.__new__(cls, value)
34-
obj._value_ = value if value != "" else None
35-
return obj
36-
3732

3833
class TestType(Enum):
3934
EXISTING_UNIT_TEST = 1
@@ -99,7 +94,7 @@ class FunctionTestInvocation:
9994
test_type: TestType
10095
return_value: Optional[object] # The return value of the function invocation
10196
timed_out: Optional[bool]
102-
verification_type: str = VerificationType.FUNCTION_CALL
97+
verification_type: Optional[str] = VerificationType.FUNCTION_CALL
10398

10499
@property
105100
def unique_invocation_loop_id(self) -> str:

0 commit comments

Comments
 (0)