From 1d71955b7a0e5c3cbe90a5d30a680af22e575e26 Mon Sep 17 00:00:00 2001 From: Arun Babu Neelicattu Date: Tue, 24 May 2022 00:09:02 +0200 Subject: [PATCH] tests: workaround tomlkit regression on windows --- tests/console/commands/test_init.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/console/commands/test_init.py b/tests/console/commands/test_init.py index 4805552b2ed..c733bba2dfb 100644 --- a/tests/console/commands/test_init.py +++ b/tests/console/commands/test_init.py @@ -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, @@ -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,