01-fix-tests.patch 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. --- contrib/python/pytest-mock/py3/tests/test_pytest_mock.py (index)
  2. +++ contrib/python/pytest-mock/py3/tests/test_pytest_mock.py (working tree)
  3. @@ -469,2 +469,3 @@ def test_static_method_subclass_spy(mocker: MockerFixture) -> None:
  4. +@pytest.mark.skip("Skip testdir")
  5. def test_callable_like_spy(testdir: Any, mocker: MockerFixture) -> None:
  6. @@ -583,4 +585,5 @@ def test_assert_called_wrapper(mocker: MockerFixture) -> None:
  7. +@pytest.mark.skip
  8. @pytest.mark.usefixtures("needs_assert_rewrite")
  9. def test_assert_called_args_with_introspection(mocker: MockerFixture) -> None:
  10. @@ -599,4 +602,5 @@ def test_assert_called_args_with_introspection(mocker: MockerFixture) -> None:
  11. +@pytest.mark.skip
  12. @pytest.mark.usefixtures("needs_assert_rewrite")
  13. def test_assert_called_kwargs_with_introspection(mocker: MockerFixture) -> None:
  14. @@ -633,2 +637,3 @@ def test_assert_has_calls(mocker: MockerFixture) -> None:
  15. +@pytest.mark.skip("Skip testdir")
  16. def test_monkeypatch_ini(testdir: Any, mocker: MockerFixture) -> None:
  17. @@ -680,2 +685,3 @@ def test_patched_method_parameter_name(mocker: MockerFixture) -> None:
  18. +@pytest.mark.skip("Skip testdir")
  19. def test_monkeypatch_native(testdir: Any) -> None:
  20. @@ -704,2 +710,3 @@ def test_monkeypatch_native(testdir: Any) -> None:
  21. +@pytest.mark.skip("Skip testdir")
  22. def test_monkeypatch_no_terminal(testdir: Any) -> None:
  23. @@ -719,2 +725,3 @@ def test_monkeypatch_no_terminal(testdir: Any) -> None:
  24. +@pytest.mark.skip("Skip testdir")
  25. def test_standalone_mock(testdir: Any) -> None:
  26. @@ -740,4 +748,5 @@ def test_standalone_mock(testdir: Any) -> None:
  27. +@pytest.mark.skip("Skip testdir")
  28. @pytest.mark.usefixtures("needs_assert_rewrite")
  29. def test_detailed_introspection(testdir: Any) -> None:
  30. @@ -783,6 +791,7 @@ def test_detailed_introspection(testdir: Any) -> None:
  31. result.stdout.fnmatch_lines(expected_lines)
  32. +@pytest.mark.skip("Skip testdir")
  33. @pytest.mark.usefixtures("needs_assert_rewrite")
  34. def test_detailed_introspection_async(testdir: Any) -> None:
  35. """Check that the "mock_use_standalone" is being used."""
  36. @@ -826,2 +836,3 @@ def test_detailed_introspection_async(testdir: Any) -> None:
  37. +@pytest.mark.skip("Skip testdir")
  38. def test_missing_introspection(testdir: Any) -> None:
  39. @@ -847,2 +859,3 @@ def test_assert_called_with_unicode_arguments(mocker: MockerFixture) -> None:
  40. +@pytest.mark.skip("Skip testdir")
  41. def test_plain_stopall(testdir: Any) -> None:
  42. @@ -953,2 +964,3 @@ def test_patch_context_manager_with_context_manager(mocker: MockerFixture) -> No
  43. +@pytest.mark.skip("Skip testdir")
  44. def test_abort_patch_context_manager_with_stale_pyc(testdir: Any) -> None:
  45. @@ -957,2 +970,3 @@ def test_abort_patch_context_manager_with_stale_pyc(testdir: Any) -> None:
  46. +@pytest.mark.skip("Skip testdir")
  47. def test_used_with_class_scope(testdir: Any) -> None:
  48. @@ -981,2 +995,3 @@ def test_used_with_class_scope(testdir: Any) -> None:
  49. +@pytest.mark.skip("Skip testdir")
  50. def test_used_with_module_scope(testdir: Any) -> None:
  51. @@ -1003,2 +1018,3 @@ def test_used_with_module_scope(testdir: Any) -> None:
  52. +@pytest.mark.skip("Skip testdir")
  53. def test_used_with_package_scope(testdir: Any) -> None:
  54. @@ -1026,2 +1042,3 @@ def test_used_with_package_scope(testdir: Any) -> None:
  55. +@pytest.mark.skip("Skip testdir")
  56. def test_used_with_session_scope(testdir: Any) -> None: