aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/pyunit
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2022-11-28 00:33:02 +0100
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2022-11-30 23:32:47 +0100
commite6cc3aba4fec28d23df9fe974d92706d867c1668 (patch)
treead05c1264fd7cb96d55cf50def1182c96760f74e /testsuite/pyunit
parent51f0ead16d60c63d1b069f807e3513bba11d8947 (diff)
downloadghdl-e6cc3aba4fec28d23df9fe974d92706d867c1668.tar.gz
ghdl-e6cc3aba4fec28d23df9fe974d92706d867c1668.tar.bz2
ghdl-e6cc3aba4fec28d23df9fe974d92706d867c1668.zip
Fixed usage of 'cls'.
Diffstat (limited to 'testsuite/pyunit')
-rw-r--r--testsuite/pyunit/libghdl/Comments.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/pyunit/libghdl/Comments.py b/testsuite/pyunit/libghdl/Comments.py
index 69571d966..41bdacc66 100644
--- a/testsuite/pyunit/libghdl/Comments.py
+++ b/testsuite/pyunit/libghdl/Comments.py
@@ -33,7 +33,7 @@ class Instantiate(TestCase):
# Finish initialization. This will load the standard package.
if libghdl.analyze_init_status() != 0:
- self.fail("libghdl initialization error")
+ cls.fail("libghdl initialization error")
def checkComments(self, node, name) -> None:
f = files_map.Location_To_File(nodes.Get_Location(node))