Skip to content

Commit

Permalink
removed prebuild_extenson_path() from the tests (openvinotoolkit#774)
Browse files Browse the repository at this point in the history
  • Loading branch information
mryzhov authored Dec 7, 2023
1 parent 8cad936 commit fb9fe18
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,8 @@

import pytest


def prebuild_extenson_path():
ext_path = os.getenv("CUSTOM_OP_LIB") or os.getenv("OV_TOKENIZER_PREBUILD_EXTENSION_PATH")
if not ext_path:
raise EnvironmentError(
"No extension path found in the environment. "
"Export path to libuser_ov_extensions.so to CUSTOM_OP_LIB or OV_TOKENIZER_PREBUILD_EXTENSION_PATH variable."
)
return ext_path


os.environ["OV_TOKENIZER_PREBUILD_EXTENSION_PATH"] = prebuild_extenson_path()
PASS_RATES_FILE = Path(__file__).parent / "pass_rates.json"


@pytest.hookimpl(trylast=True)
def pytest_sessionfinish(session, exitstatus) -> None:
"""
Expand Down

0 comments on commit fb9fe18

Please sign in to comment.