diff --git a/python-ana.changes b/python-ana.changes index 2f883bc..862cbb5 100644 --- a/python-ana.changes +++ b/python-ana.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 15 02:44:13 UTC 2024 - Steve Kowalik + +- Fix test.py to work with Python 3.12. + ------------------------------------------------------------------- Wed Sep 6 03:05:47 UTC 2023 - Steve Kowalik diff --git a/python-ana.spec b/python-ana.spec index 70e0265..7012405 100644 --- a/python-ana.spec +++ b/python-ana.spec @@ -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 diff --git a/test.py b/test.py index 9da2e36..79eb7f6 100644 --- a/test.py +++ b/test.py @@ -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())