Skip to content

Commit 1d71955

Browse files
committed
tests: workaround tomlkit regression on windows
1 parent 231d613 commit 1d71955

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/console/commands/test_init.py

+2
Original file line numberDiff line numberDiff line change
@@ -788,6 +788,7 @@ def test_add_package_with_extras_and_whitespace(tester: CommandTester):
788788
assert "sqlite" in result[0]["extras"]
789789

790790

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

806807

808+
@pytest.mark.xfail(sys.platform == "win32", reason="regression in tomlkit")
807809
def test_init_non_interactive_existing_pyproject_add_dependency(
808810
tester: CommandTester,
809811
source_dir: Path,

0 commit comments

Comments
 (0)