--- /dev/null
+"more diff" vs "full diff"
+--- pytest-mock-3.10.0/tests/test_pytest_mock.py.orig 2022-10-05 20:52:25.000000000 +0200
++++ pytest-mock-3.10.0/tests/test_pytest_mock.py 2022-10-24 06:26:54.219495582 +0200
+@@ -773,12 +773,12 @@ def test_detailed_introspection(testdir:
+ "*Args:",
+ "*assert ('fo',) == ('',)",
+ "*At index 0 diff: 'fo' != ''*",
+- "*Use -v to get more diff*",
++ "*Use -v to get * diff*",
+ "*Kwargs:*",
+ "*assert {} == {'bar': 4}*",
+ "*Right contains* more item*",
+ "*{'bar': 4}*",
+- "*Use -v to get more diff*",
++ "*Use -v to get * diff*",
+ ]
+ result.stdout.fnmatch_lines(expected_lines)
+
+@@ -814,12 +814,12 @@ def test_detailed_introspection_async(te
+ "*Args:",
+ "*assert ('fo',) == ('',)",
+ "*At index 0 diff: 'fo' != ''*",
+- "*Use -v to get more diff*",
++ "*Use -v to get * diff*",
+ "*Kwargs:*",
+ "*assert {} == {'bar': 4}*",
+ "*Right contains* more item*",
+ "*{'bar': 4}*",
+- "*Use -v to get more diff*",
++ "*Use -v to get * diff*",
+ ]
+ result.stdout.fnmatch_lines(expected_lines)
+
Summary: Thin-wrapper around the mock package for easier use with py.test
Summary(pl.UTF-8): Cienka warstwa obudowująca pakiet mock, ułatwiająca używanie wraz z py.test
Name: python3-pytest-mock
-Version: 3.7.0
-Release: 3
+Version: 3.10.0
+Release: 1
License: MIT
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/pytest-mock/
Source0: https://files.pythonhosted.org/packages/source/p/pytest-mock/pytest-mock-%{version}.tar.gz
-# Source0-md5: 8a17273e0dd1edd32b9c01e876a824fd
+# Source0-md5: 29c685fb54fbac80aae0e551bcbaab31
+Patch0: pytest-mock-tests.patch
URL: https://pypi.org/project/pytest-mock/
BuildRequires: python3-modules >= 1:3.7
BuildRequires: python3-setuptools
%prep
%setup -q -n pytest-mock-%{version}
+%patch0 -p1
%build
%py3_build