python/elasticsearch: update to 8.16.0
[oi-userland.git] / components / python / pytest / patches / 01-test-plugins-fails.patch
bloba9ef480ed68f86213cef7125599bf160214d46b7
1 --- pytest-8.3.3/testing/test_helpconfig.py.orig
2 +++ pytest-8.3.3/testing/test_helpconfig.py
3 @@ -6,6 +6,7 @@
4 import pytest
7 +@pytest.mark.skip(reason="always fails: https://github.com/pytest-dev/pytest/issues/12073")
8 def test_version_verbose(pytester: Pytester, pytestconfig, monkeypatch) -> None:
9 monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD")
10 result = pytester.runpytest("--version", "--version")
11 @@ -15,6 +16,7 @@
12 result.stdout.fnmatch_lines(["*registered third-party plugins:", "*at*"])
15 +@pytest.mark.skip(reason="always fails: https://github.com/pytest-dev/pytest/issues/12073")
16 def test_version_less_verbose(pytester: Pytester, pytestconfig, monkeypatch) -> None:
17 monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD")
18 result = pytester.runpytest("--version")
19 --- pytest-8.3.3/testing/test_junitxml.py.orig
20 +++ pytest-8.3.3/testing/test_junitxml.py
21 @@ -1356,6 +1356,7 @@
22 result.stdout.fnmatch_lines(expected_lines)
25 +@pytest.mark.skip(reason="always fails: https://github.com/pytest-dev/pytest/issues/12073")
26 def test_random_report_log_xdist(
27 pytester: Pytester, monkeypatch: MonkeyPatch, run_and_parse: RunAndParse
28 ) -> None:
29 @@ -1413,6 +1414,7 @@
30 assert first == second
33 +@pytest.mark.skip(reason="always fails: https://github.com/pytest-dev/pytest/issues/12073")
34 def test_runs_twice_xdist(
35 pytester: Pytester, monkeypatch: MonkeyPatch, run_and_parse: RunAndParse
36 ) -> None:
37 --- pytest-8.3.3/testing/test_terminal.py.orig
38 +++ pytest-8.3.3/testing/test_terminal.py
39 @@ -855,6 +855,7 @@
40 result.stdout.fnmatch_lines(["test_passes.py ..*", "* 2 pass*"])
41 assert result.ret == 0
43 + @pytest.mark.skip(reason="always fails: https://github.com/pytest-dev/pytest/issues/12073")
44 def test_header_trailer_info(
45 self, monkeypatch: MonkeyPatch, pytester: Pytester, request
46 ) -> None:
47 @@ -1063,6 +1064,7 @@
49 assert result.ret == 1
51 + @pytest.mark.skip(reason="always fails: https://github.com/pytest-dev/pytest/issues/12073")
52 def test_verbose_reporting_xdist(
53 self,
54 verbose_testfile,
55 @@ -2200,6 +2202,7 @@
59 + @pytest.mark.skip(reason="always fails: https://github.com/pytest-dev/pytest/issues/12073")
60 def test_xdist_normal(
61 self, many_tests_files, pytester: Pytester, monkeypatch
62 ) -> None:
63 @@ -2208,6 +2211,7 @@
64 output = pytester.runpytest("-n2")
65 output.stdout.re_match_lines([r"\.{20} \s+ \[100%\]"])
67 + @pytest.mark.skip(reason="always fails: https://github.com/pytest-dev/pytest/issues/12073")
68 def test_xdist_normal_count(
69 self, many_tests_files, pytester: Pytester, monkeypatch
70 ) -> None:
71 @@ -2222,6 +2226,7 @@
72 output = pytester.runpytest("-n2")
73 output.stdout.re_match_lines([r"\.{20} \s+ \[20/20\]"])
75 + @pytest.mark.skip(reason="always fails: https://github.com/pytest-dev/pytest/issues/12073")
76 def test_xdist_verbose(
77 self, many_tests_files, pytester: Pytester, monkeypatch
78 ) -> None:
79 @@ -2366,6 +2371,7 @@
83 + @pytest.mark.skip(reason="always fails: https://github.com/pytest-dev/pytest/issues/12073")
84 def test_xdist_normal(self, many_files, pytester: Pytester, monkeypatch) -> None:
85 pytest.importorskip("xdist")
86 monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD", raising=False)