Don't repeat tests (#643)

* Don't repeat tests

* Format code
This commit is contained in:
Adrien
2025-01-03 03:01:36 +01:00
committed by GitHub
parent f41934a0e2
commit 36b5fd1495
2 changed files with 26 additions and 39 deletions

View File

@@ -4,17 +4,6 @@ import sys
import pytest
def pytest_addoption(parser):
parser.addoption(
"--repeat", type=int, default=1, help="repeat the operation multiple times"
)
@pytest.fixture(scope="session")
def repeat(request):
return request.config.getoption("repeat")
@pytest.fixture
def reset_sys_path():
original = copy.deepcopy(sys.path)