Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-testscenarios for
openSUSE:Factory checked in at 2026-03-17 19:02:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-testscenarios (Old)
and /work/SRC/openSUSE:Factory/.python-testscenarios.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-testscenarios"
Tue Mar 17 19:02:12 2026 rev:11 rq:1339191 version:0.5.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-testscenarios/python-testscenarios.changes
2025-05-03 20:58:00.831201079 +0200
+++
/work/SRC/openSUSE:Factory/.python-testscenarios.new.8177/python-testscenarios.changes
2026-03-17 19:02:23.531442970 +0100
@@ -1,0 +2,6 @@
+Mon Mar 16 00:22:33 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-testscenarios.spec ++++++
--- /var/tmp/diff_new_pack.dqgLi2/_old 2026-03-17 19:02:24.179469545 +0100
+++ /var/tmp/diff_new_pack.dqgLi2/_new 2026-03-17 19:02:24.179469545 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-testscenarios
#
-# Copyright (c) 2025 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
@@ -32,6 +32,9 @@
License: Apache-2.0 OR BSD-3-Clause
URL: https://launchpad.net/testscenarios
Source:
https://files.pythonhosted.org/packages/source/t/testscenarios/testscenarios-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM Based on one commit from gh#testing-cabal/testscenarios#11
+# Waiting for a new release before updating URL
+Patch0: use-assertequal.patch
BuildRequires: %{python_module pbr >= 0.11}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
@@ -54,7 +57,7 @@
different situations).
%prep
-%setup -q -n testscenarios-%{version}
+%autosetup -p1 -n testscenarios-%{version}
%build
%if !%{with test}
++++++ use-assertequal.patch ++++++
>From fd9a58526f1f77c192c129f6e06cb61bf06dfea4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= <[email protected]>
Date: Mon, 10 Nov 2025 22:59:37 +0000
Subject: [PATCH 3/3] s/assertEquals/assertEqual/
---
testscenarios/tests/test_scenarios.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: testscenarios-0.5.0/testscenarios/tests/test_scenarios.py
===================================================================
--- testscenarios-0.5.0.orig/testscenarios/tests/test_scenarios.py
+++ testscenarios-0.5.0/testscenarios/tests/test_scenarios.py
@@ -193,7 +193,7 @@ class TestLoadTests(testtools.TestCase):
[self.SampleTest('test_nothing')],
None)
result_tests = list(testtools.iterate_tests(suite))
- self.assertEquals(
+ self.assertEqual(
2,
len(result_tests),
result_tests)
@@ -206,7 +206,7 @@ class TestLoadTests(testtools.TestCase):
unittest.TestLoader(),
)
result_tests = list(testtools.iterate_tests(suite))
- self.assertEquals(
+ self.assertEqual(
2,
len(result_tests),
result_tests)