diff options
Diffstat (limited to 'testsuite/pyunit/dom/Literals.py')
-rw-r--r-- | testsuite/pyunit/dom/Literals.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/pyunit/dom/Literals.py b/testsuite/pyunit/dom/Literals.py index ebd702f5e..a69481ef4 100644 --- a/testsuite/pyunit/dom/Literals.py +++ b/testsuite/pyunit/dom/Literals.py @@ -80,6 +80,6 @@ class Literals(TestCase): item: Constant = package.DeclaredItems[i] self.assertTrue(isinstance(item, Constant)) self.assertTrue(item.Name == "c{}".format(i)) - self.assertTrue(item.SubType.SymbolName == "integer") + self.assertTrue(str(item.SubType.SymbolName) == "integer") self.assertTrue(isinstance(item.DefaultExpression, IntegerLiteral)) self.assertTrue(item.DefaultExpression.Value == expected[i]) |