From d03b855d21b7afe8eb191fae3ede3a05b35d97bd Mon Sep 17 00:00:00 2001 From: Mikko Korpela Date: Sat, 20 Jan 2024 15:57:59 +0200 Subject: [PATCH] test_pabotlib: fix deprecation --- tests/test_pabotlib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_pabotlib.py b/tests/test_pabotlib.py index 3122dd8c..89abd8a1 100644 --- a/tests/test_pabotlib.py +++ b/tests/test_pabotlib.py @@ -204,10 +204,10 @@ def test_add_to_valueset(self): self.assertIn(vals, ["MyValueSet1", "MyValueSet2"]) lib.release_value_set() lib.acquire_value_set("valueset1") - self.assertEquals("someVal1", lib.get_value_from_set("key")) + self.assertEqual("someVal1", lib.get_value_from_set("key")) lib.release_value_set() lib.acquire_value_set("valueset2") - self.assertEquals("someVal2", lib.get_value_from_set("key")) + self.assertEqual("someVal2", lib.get_value_from_set("key")) lib.release_value_set() def test_ignore_execution_will_not_run_special_keywords_after(self):