## Run pytest with xdist, allowing concurrent tests@nox.session(python=PY_VERSIONS,name="tests")@nox.parametrize("pdm_ver",[PDM_VER])defrun_tests(session:nox.Session,pdm_ver:str):session.install(f"pdm>={pdm_ver}")session.run("pdm","install")print("Running Pytest tests")session.run("pdm","run","pytest","-n","auto","--tb=auto","-v","-rsXxfP",)
## Run pytest@nox.session(python=PY_VERSIONS,name="tests")@nox.parametrize("pdm_ver",[PDM_VER])defrun_tests(session:nox.Session,pdm_ver:str):session.install(f"pdm>={pdm_ver}")session.run("pdm","install")print("Running Pytest tests")session.run("pdm","run","pytest","--tb=auto","-v","-rsXxfP",)