aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-06-21 14:34:42 +0200
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-06-22 12:26:59 +0200
commitf0796bfab0032e6e7f9c8f52b789bab06ab7e4df (patch)
tree61fa06ffafc2c6ad3e3865c324517c1b29ea59c6 /testsuite
parent5303bb777dedfa03bbc3d042bb14c5d9bbae6b52 (diff)
downloadghdl-f0796bfab0032e6e7f9c8f52b789bab06ab7e4df.tar.gz
ghdl-f0796bfab0032e6e7f9c8f52b789bab06ab7e4df.tar.bz2
ghdl-f0796bfab0032e6e7f9c8f52b789bab06ab7e4df.zip
Start handling function calls.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/pyunit/dom/Expressions.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/pyunit/dom/Expressions.py b/testsuite/pyunit/dom/Expressions.py
index 3a4f658af..13888eb49 100644
--- a/testsuite/pyunit/dom/Expressions.py
+++ b/testsuite/pyunit/dom/Expressions.py
@@ -6,7 +6,7 @@ from pyGHDL.dom.DesignUnit import Package
from pyGHDL.dom import Expression
from pyGHDL.dom.Misc import Design, Document
-from pyGHDL.dom.Symbol import SimpleObjectSymbol
+from pyGHDL.dom.Symbol import SimpleObjectOrFunctionCallSymbol
from pyGHDL.dom.Object import Constant
from pyGHDL.dom.Expression import InverseExpression
@@ -39,7 +39,7 @@ class Expressions(TestCase):
item: Constant = package.DeclaredItems[0]
default: Expression = item.DefaultExpression
self.assertTrue(isinstance(default, InverseExpression))
- self.assertTrue(isinstance(default.Operand, SimpleObjectSymbol))
+ self.assertTrue(isinstance(default.Operand, SimpleObjectOrFunctionCallSymbol))
self.assertTrue(default.Operand.SymbolName == "true")
# def test_Aggregare(self):
@@ -66,5 +66,5 @@ class Expressions(TestCase):
# item: Constant = package.DeclaredItems[0]
# default: Expression = item.DefaultExpression
# self.assertTrue(isinstance(default, InverseExpression))
- # self.assertTrue(isinstance(default.Operand, SimpleObjectSymbol))
+ # self.assertTrue(isinstance(default.Operand, SimpleObjectOrFunctionCallSymbol))
# self.assertTrue(default.Operand.SymbolName == "true")