aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2023-04-16 19:43:35 +0200
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2023-04-16 19:43:35 +0200
commit61bb37c757e5167b617823d6b100edf54de154d6 (patch)
tree38147759dab3417b0bc29e3e9b6bfca5becebcbe /testsuite
parenta211cdcf7d5eb5f058d2e38c93092f4548283451 (diff)
downloadghdl-61bb37c757e5167b617823d6b100edf54de154d6.tar.gz
ghdl-61bb37c757e5167b617823d6b100edf54de154d6.tar.bz2
ghdl-61bb37c757e5167b617823d6b100edf54de154d6.zip
Fixed last testcase.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/pyunit/dom/Expressions.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/testsuite/pyunit/dom/Expressions.py b/testsuite/pyunit/dom/Expressions.py
index 290216156..24235e1e1 100644
--- a/testsuite/pyunit/dom/Expressions.py
+++ b/testsuite/pyunit/dom/Expressions.py
@@ -84,9 +84,7 @@ class Expressions(TestCase):
return default
def test_NotExpression(self):
- filename: Path = self._root / "{className}_{funcName}.vhdl".format(
- className=self.__class__.__name__, funcName= currentframe().f_code.co_name[5:]
- )
+ filename: Path = self._root / f"{self.__class__.__name__}_{currentframe().f_code.co_name[5:]}.vhdl"
# Define test data
constantDeclartion = "constant c0 : boolean := not True;"