From b59658ba200fae71c0e823c3a93a5ac3aa257f39 Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 28 Jul 2024 19:25:26 +0100 Subject: [PATCH] Manually convert assert_not_equals calls --- tests/core/test_context.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/core/test_context.py b/tests/core/test_context.py index 116a899..a963613 100644 --- a/tests/core/test_context.py +++ b/tests/core/test_context.py @@ -111,14 +111,14 @@ def test_context_depend_variables(): # Checks variable overriding get_context().add_var('some', Variable('some', value='some_new')) get_context().add_var('foo', Variable('foo', value='foo')) - assert_not_equals(get_context().get_var('some').value, 'some') + assert get_context().get_var('some').value != 'some' assert get_context().get_var('some').value == 'some_new' assert get_context().get_var('foo').value == 'foo' assert get_context().get_var(1).value == 'one' # Checks variables after restore previous context pop_context() - assert_not_equals(get_context().get_var('some').value, 'some_new') + assert get_context().get_var('some').value != 'some_new' assert get_context().get_var('some').value == 'some' assert get_context().get_var('foo') == None assert get_context().get_var(1).value == 'one'