Skip to content

Commit

Permalink
debug: fix xfail
Browse files Browse the repository at this point in the history
  • Loading branch information
abn committed Apr 18, 2020
1 parent 01cd94f commit f255233
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tests/integration/test_pep517.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
from tests.utils import temporary_project_directory


@pytest.xfail
@pytest.mark.xfail
def test_pep517_simple_project(common_project):
with temporary_project_directory(common_project("simple_project")) as path:
assert check(path)


@pytest.xfail
@pytest.mark.xfail
def test_pep517_src_extended(masonry_project):
with temporary_project_directory(masonry_project("src_extended")) as path:
assert check(path)


@pytest.xfail
@pytest.mark.xfail
def test_pep517_disable_setup_py(masonry_project):
with temporary_project_directory(masonry_project("disable_setup_py")) as path:
assert check(path)
2 changes: 1 addition & 1 deletion tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def temporary_project_directory(path):
assert (path / "pyproject.toml").exists()

with tempfile.TemporaryDirectory(prefix="poetry-core-pep517") as tmp:
shutil.copytree(str(path), tmp)
shutil.copytree(str(path), tmp, dirs_exist_ok=True)
toml = TomlFile(str(Path(tmp) / "pyproject.toml"))
data = toml.read()
data.update(__patch__)
Expand Down

0 comments on commit f255233

Please sign in to comment.