Skip to content

Commit 44a3b3c

Browse files
committed
Fix test_pep517_parsing_checks_requirements
1 parent 8d64ec0 commit 44a3b3c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/unit/test_pep517.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import os
22
from pathlib import Path
33
from textwrap import dedent
4+
from typing import Tuple
45

56
import pytest
67

@@ -73,12 +74,12 @@ def test_disabling_pep517_invalid(shared_data: TestData, source: str, msg: str)
7374
@pytest.mark.parametrize(
7475
"spec", [("./foo",), ("git+https://example.com/pkg@dev#egg=myproj",)]
7576
)
76-
def test_pep517_parsing_checks_requirements(tmpdir: Path, spec: str) -> None:
77+
def test_pep517_parsing_checks_requirements(tmpdir: Path, spec: Tuple[str]) -> None:
7778
tmpdir.joinpath("pyproject.toml").write_text(
7879
dedent(
7980
f"""
8081
[build-system]
81-
requires = [{spec!r}]
82+
requires = [{spec[0]!r}]
8283
build-backend = "foo"
8384
"""
8485
)

0 commit comments

Comments
 (0)