diff options
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/gna/issue43/run.py | 12 | ||||
-rw-r--r-- | testsuite/pyunit/libghdl/Initialize.py | 4 | ||||
-rw-r--r-- | testsuite/pyunit/lsp/LanguageServer.py | 3 |
3 files changed, 5 insertions, 14 deletions
diff --git a/testsuite/gna/issue43/run.py b/testsuite/gna/issue43/run.py index f1cb5ec01..d37c1cbaa 100644 --- a/testsuite/gna/issue43/run.py +++ b/testsuite/gna/issue43/run.py @@ -1,14 +1,6 @@ -import os
-import sys
-from string import join
from vunit import VUnit
-
-
-# Create VUnit instance by parsing command line arguments
vu = VUnit.from_argv()
vu.add_com()
-lib = vu.add_library("lib")
-lib.add_source_files("*.vhd")
-
-vu.main()
\ No newline at end of file +vu.add_library("lib").add_source_files("*.vhd")
+vu.main()
diff --git a/testsuite/pyunit/libghdl/Initialize.py b/testsuite/pyunit/libghdl/Initialize.py index 4d5bb521a..369faee07 100644 --- a/testsuite/pyunit/libghdl/Initialize.py +++ b/testsuite/pyunit/libghdl/Initialize.py @@ -18,11 +18,11 @@ class Instantiate(TestCase): @staticmethod def getIdentifier(node): - """Return the Python string from node :obj:`node` identifier""" + """Return the Python string from node :obj:`node` identifier.""" return name_table.Get_Name_Ptr(nodes.Get_Identifier(node)) def test_InitializeGHDL(self) -> None: - """Initialization: set options and then load libaries""" + """Initialization: set options and then load libaries.""" libghdl.initialize() # Print error messages on the console. diff --git a/testsuite/pyunit/lsp/LanguageServer.py b/testsuite/pyunit/lsp/LanguageServer.py index 36ee6da2a..c1bcf1898 100644 --- a/testsuite/pyunit/lsp/LanguageServer.py +++ b/testsuite/pyunit/lsp/LanguageServer.py @@ -1,5 +1,4 @@ import os -import string from sys import executable from io import BytesIO from json import load as json_load, loads as json_loads, dumps as json_dumps @@ -7,7 +6,7 @@ from pathlib import Path from urllib.parse import quote from subprocess import run as subprocess_run, PIPE from typing import Optional -from unittest import TestCase, skip +from unittest import TestCase from pyGHDL.lsp.lsp import LanguageProtocolServer, LSPConn |