Skip to content

Commit f16135b

Browse files
committed
TST: clarify pep518 fixture does not need to be accessed
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 33eef6a commit f16135b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,3 @@ def pep518_wheelhouse(tmp_path_factory):
156156
def pep518(pep518_wheelhouse, monkeypatch):
157157
monkeypatch.setenv('PIP_FIND_LINKS', pep518_wheelhouse)
158158
monkeypatch.setenv('PIP_NO_INDEX', 'true')
159-
return pep518_wheelhouse

tests/test_pep518.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from .conftest import cd_package, in_git_repo_context
77

88

9+
@pytest.mark.usefixtures('pep518')
910
@pytest.mark.parametrize(
1011
('package'),
1112
[
@@ -15,7 +16,7 @@
1516
@pytest.mark.parametrize(
1617
'build_arg', ['', '--wheel'], ids=['sdist_to_wheel', 'wheel_directly']
1718
)
18-
def test_pep518(pep518, package, build_arg, tmp_path):
19+
def test_pep518(package, build_arg, tmp_path):
1920
dist = tmp_path / 'dist'
2021

2122
with cd_package(package), in_git_repo_context():

0 commit comments

Comments
 (0)