mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 22:07:19 +02:00
15 lines
558 B
Diff
15 lines
558 B
Diff
diff --git a/conftest.py.orig b/conftest.py
|
|
index e48a5f06ef0..5058943b7d0 100644
|
|
--- a/conftest.py.orig
|
|
+++ b/conftest.py
|
|
@@ -7,9 +7,3 @@ def pytest_configure(config):
|
|
# register an additional marker
|
|
config.addinivalue_line("markers",
|
|
"env(name): mark test to run only on named environment")
|
|
-
|
|
-def pytest_runtest_setup(item):
|
|
- envnames = [mark.args[0] for mark in item.iter_markers(name='env')]
|
|
- if envnames:
|
|
- if item.config.getoption("-E") not in envnames:
|
|
- pytest.skip("test requires env in %r" % envnames)
|