libei/test/conftest.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
245 B
Python
Raw Normal View History

import os
try:
import xdist # noqa: F401
# Otherwise we get unknown hook 'pytest_xdist_auto_num_workers'
def pytest_xdist_auto_num_workers(config):
return os.getenv("FDO_CI_CONCURRENT", None)
except ImportError:
pass