From 97d68e3dcf32b3fd626ee9a85e77b029af70095d Mon Sep 17 00:00:00 2001 From: Mihhail Matvejev Date: Mon, 7 Oct 2024 20:08:11 +0300 Subject: [PATCH] small fix --- Shunting Yard/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shunting Yard/tests.py b/Shunting Yard/tests.py index 10ac523..5925267 100644 --- a/Shunting Yard/tests.py +++ b/Shunting Yard/tests.py @@ -5,7 +5,7 @@ class MyTestCase(unittest.TestCase): def setup(self): - self.sol = Solution() + self.__sol = Solution() def test_algo(self): self.setup() @@ -44,4 +44,4 @@ def test_algo(self): ] for expr, expected in test_cases: - self.assertEqual(self.sol.infix_to_postfix(expr), expected) + self.assertEqual(self.__sol.infix_to_postfix(expr), expected)