From: Michael Tremer Date: Tue, 18 Mar 2025 10:39:44 +0000 (+0000) Subject: tests: python: Don't call depreated unit test function X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8a148b7bfce3ef44371e7605e6557f8f5eea2a23;p=pakfire.git tests: python: Don't call depreated unit test function Signed-off-by: Michael Tremer --- diff --git a/tests/python/execute.py b/tests/python/execute.py index 55be12e9..97bf4b50 100755 --- a/tests/python/execute.py +++ b/tests/python/execute.py @@ -98,7 +98,7 @@ class ExecuteTests(tests.TestCase): # Run a command that generates lots of lines output = self.pakfire.execute(["/command", "lines", "100", "40"], return_output=True) - self.assertEquals(output.count(b"\n"), 100) + self.assertEqual(output.count(b"\n"), 100) def test_execute_input(self): def test(input, output=None):