SHA256
1
0
forked from pool/python-ana

- Fix test.py to work with Python 3.12.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ana?expand=0&rev=18
This commit is contained in:
2024-01-15 02:44:54 +00:00
committed by Git OBS Bridge
parent 19c277a7ab
commit ccfe915b30
3 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jan 15 02:44:13 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Fix test.py to work with Python 3.12.
-------------------------------------------------------------------
Wed Sep 6 03:05:47 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-ana
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed

View File

@@ -109,7 +109,7 @@ class TestAna(unittest.TestCase):
gc.collect()
ana.dl = ana.DirDataLayer(pickle_dir="/tmp/test_ana")
two = A.ana_load(uuid)
self.assertEquals(uuid, two.ana_uuid)
self.assertEqual(uuid, two.ana_uuid)
# reset the datalayer to make sure we handle it properly
ana.set_dl(ana.DictDataLayer())