test input: use explicit package declaration (#345)
This commit is contained in:
committed by
GitHub
parent
74205e3319
commit
bd69862a02
@@ -1,3 +1,6 @@
|
||||
import copy
|
||||
import sys
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
@@ -10,3 +13,10 @@ def pytest_addoption(parser):
|
||||
@pytest.fixture(scope="session")
|
||||
def repeat(request):
|
||||
return request.config.getoption("repeat")
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def reset_sys_path():
|
||||
original = copy.deepcopy(sys.path)
|
||||
yield
|
||||
sys.path = original
|
||||
|
||||
Reference in New Issue
Block a user