File: py3.14-fix-assertItemsEqual-is-removed.patch

package info (click to toggle)
python-os-client-config 2.3.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 576 kB
  • sloc: python: 2,314; makefile: 23
file content (17 lines) | stat: -rw-r--r-- 686 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Python 3.14: assertItemsEqual is removed
Author: Thomas Goirand <zigo@debian.org>
Bug-Debian: https://bugs.debian.org/1124200
Forwarded: no
Last-Update: 2025-12-29

--- python-os-client-config-2.3.0.orig/os_client_config/tests/test_config.py
+++ python-os-client-config-2.3.0/os_client_config/tests/test_config.py
@@ -47,7 +47,7 @@ class TestConfig(base.TestCase):
             '_test_cloud_regions'
         ]
         configured_clouds = [cloud.name for cloud in clouds]
-        self.assertItemsEqual(user_clouds, configured_clouds)
+        self.assertCountEqual(user_clouds, configured_clouds)
 
     def test_get_one_cloud(self):
         c = config.OpenStackConfig(