Accepting request 1138740 from devel:languages:python
- Fix test.py to work with Python 3.12. OBS-URL: https://build.opensuse.org/request/show/1138740 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ana?expand=0&rev=8
This commit is contained in:
commit
36c104b1b9
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
2
test.py
2
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())
|
||||
|
Loading…
Reference in New Issue
Block a user