Skip to content

Commit 0c23c4e

Browse files
committed
Change target dir
1 parent 4766b8a commit 0c23c4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python_tool_competition_2024_utbot_python/generator.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def _build_test(
6363
sys.stderr.write("ERROR: This script works only on Linux\n")
6464
exit(1)
6565

66-
sys_paths = [target_file_info.config.targets_dir]
66+
sys_paths = [target_file_info.config.targets_dir.parent]
6767

6868
with tempfile.TemporaryDirectory() as tempdir:
6969
output_dir = pathlib.Path(tempdir)
@@ -79,7 +79,7 @@ def _build_test(
7979
UTBotPythonConfig.PYTHON_PATH,
8080
UTBotPythonConfig.JAVA_PATH,
8181
check_usvm=check_usvm,
82-
include_mypy_in_timeout=UTBotPythonConfig.INCLUDE_MYPY_RUN_IN_TIMEOUT
82+
include_mypy_in_timeout=UTBotPythonConfig.INCLUDE_MYPY_RUN_IN_TIMEOUT,
8383
)
8484

8585
utbot_tests = _read_generated_tests(str(output_file))
@@ -99,7 +99,7 @@ def _run_utbot(
9999
python_path: str,
100100
java_cmd: str,
101101
check_usvm: bool = False,
102-
include_mypy_in_timeout: bool = False
102+
include_mypy_in_timeout: bool = False,
103103
):
104104
command = (
105105
f"{java_cmd} -jar {jar_path}"

0 commit comments

Comments
 (0)