File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88from unittest .mock import MagicMock
99
1010import pytest
11-
1211from codeflash .discovery .functions_to_optimize import FunctionToOptimize
1312from codeflash .languages .base import Language
1413from codeflash .languages .javascript .support import JavaScriptSupport , TypeScriptSupport
@@ -1137,12 +1136,6 @@ def test_function_optimizer_workflow(self, cjs_project):
11371136 )
11381137 result = func_optimizer .get_code_optimization_context ()
11391138
1140- from codeflash .either import is_successful
1141-
1142- if not is_successful (result ):
1143- error_msg = result .failure () if hasattr (result , "failure" ) else str (result )
1144- pytest .skip (f"Context extraction not fully implemented: { error_msg } " )
1145-
11461139 context = result .unwrap ()
11471140
11481141 assert context .read_writable_code is not None , "read_writable_code should not be None"
You can’t perform that action at this time.
0 commit comments