aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/pyunit/dom/Expressions.py
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-06-30 12:20:54 +0200
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-07-01 06:39:46 +0200
commit03f5a6cd6f88aef6c6580f471905403056313f05 (patch)
tree2575a3e277dbb27fcc196d8121a7528cf348faff /testsuite/pyunit/dom/Expressions.py
parent8a815d48790db46652034b6a72a581b0c9f40f40 (diff)
downloadghdl-03f5a6cd6f88aef6c6580f471905403056313f05.tar.gz
ghdl-03f5a6cd6f88aef6c6580f471905403056313f05.tar.bz2
ghdl-03f5a6cd6f88aef6c6580f471905403056313f05.zip
Exchanged sides in asserts to the understanding of pytests actual vs. expected order.
Diffstat (limited to 'testsuite/pyunit/dom/Expressions.py')
-rw-r--r--testsuite/pyunit/dom/Expressions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/pyunit/dom/Expressions.py b/testsuite/pyunit/dom/Expressions.py
index 175ff9cdd..113e541ac 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.assertEqual(str(default.Operand.SymbolName), "true")
+ self.assertEqual("true", str(default.Operand.SymbolName))
# def test_AbsExpression(self):
# filename: Path = self._root / "{className}_{funcName}.vhdl".format(