Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-requests-mock for 
openSUSE:Factory checked in at 2026-03-17 19:02:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-requests-mock (Old)
 and      /work/SRC/openSUSE:Factory/.python-requests-mock.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-requests-mock"

Tue Mar 17 19:02:14 2026 rev:27 rq:1339192 version:1.12.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-requests-mock/python-requests-mock.changes    
    2024-11-06 16:50:35.648665022 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-requests-mock.new.8177/python-requests-mock.changes
      2026-03-17 19:02:25.095507109 +0100
@@ -1,0 +2,6 @@
+Mon Mar 16 00:35:08 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch use-assertequal.patch:
+  * Use TestCase.assertEqual rather than assertEquals.
+
+-------------------------------------------------------------------

New:
----
  use-assertequal.patch

----------(New B)----------
  New:
- Add patch use-assertequal.patch:
  * Use TestCase.assertEqual rather than assertEquals.
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-requests-mock.spec ++++++
--- /var/tmp/diff_new_pack.SCALVc/_old  2026-03-17 19:02:25.983543525 +0100
+++ /var/tmp/diff_new_pack.SCALVc/_new  2026-03-17 19:02:25.983543525 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-requests-mock
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,8 @@
 Source:         
https://files.pythonhosted.org/packages/source/r/requests-mock/requests-mock-%{version}.tar.gz
 # https://github.com/jamielennox/requests-mock/issues/266
 Patch0:         python-requests-mock-no-purl.patch
+# PATCH-FIX-OPENSUSE Use assertEqual
+Patch1:         use-assertequal.patch
 BuildRequires:  %{python_module fixtures}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}

++++++ use-assertequal.patch ++++++
Index: requests-mock-1.12.1/tests/test_mocker.py
===================================================================
--- requests-mock-1.12.1.orig/tests/test_mocker.py
+++ requests-mock-1.12.1/tests/test_mocker.py
@@ -219,7 +219,7 @@ class MockerTests(base.TestCase):
         @requests_mock.Mocker()
         def inner(arg1, m):
             self._do_test(m)
-            self.assertEquals(
+            self.assertEqual(
                 len(m.request_history), 1,
                 "Failed to provide clean mock on subsequent calls"
             )

Reply via email to