Skip to content

Commit

Permalink
tests: workaround tomlkit regression on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
abn committed May 23, 2022
1 parent be67d4d commit 98c9ea7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/console/commands/test_init.py
Expand Up @@ -788,6 +788,7 @@ def test_add_package_with_extras_and_whitespace(tester: CommandTester):
assert "sqlite" in result[0]["extras"]


@pytest.mark.xfail(sys.platform == "win32", reason="regression in tomlkit")
def test_init_existing_pyproject_simple(
tester: CommandTester,
source_dir: Path,
Expand All @@ -804,6 +805,7 @@ def test_init_existing_pyproject_simple(
assert f"{existing_section}\n{init_basic_toml}" in pyproject_file.read_text()


@pytest.mark.xfail(sys.platform == "win32", reason="regression in tomlkit")
def test_init_non_interactive_existing_pyproject_add_dependency(
tester: CommandTester,
source_dir: Path,
Expand Down

0 comments on commit 98c9ea7

Please sign in to comment.