conftest.py 211 Bytes
Newer Older
1
from pathlib import Path
2

3
default_exec_file = Path(__file__).absolute().parents[2] / 'lightgbm'
4
5
6


def pytest_addoption(parser):
7
    parser.addoption('--execfile', action='store', default=str(default_exec_file))