From 8a815d48790db46652034b6a72a581b0c9f40f40 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Wed, 30 Jun 2021 01:38:41 +0200 Subject: Improved test code. --- testsuite/pyunit/dom/Expressions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite/pyunit/dom/Expressions.py') diff --git a/testsuite/pyunit/dom/Expressions.py b/testsuite/pyunit/dom/Expressions.py index 21b0cd03b..175ff9cdd 100644 --- a/testsuite/pyunit/dom/Expressions.py +++ b/testsuite/pyunit/dom/Expressions.py @@ -89,7 +89,7 @@ class Expressions(TestCase): # Start checks self.assertIsInstance(default, InverseExpression) self.assertIsInstance(default.Operand, SimpleObjectOrFunctionCallSymbol) - self.assertTrue(str(default.Operand.SymbolName) == "true") + self.assertEqual(str(default.Operand.SymbolName), "true") # def test_AbsExpression(self): # filename: Path = self._root / "{className}_{funcName}.vhdl".format( -- cgit v1.2.3