From aec8564839219ab76a85622dde1facea08d8c81d Mon Sep 17 00:00:00 2001 From: Kumi Date: Thu, 23 May 2024 12:45:51 +0200 Subject: [PATCH] feat(tests): improve type handling in debug output Updated the debug message in the test suite to use a more explicit type conversion method when displaying the current file name. This change ensures consistency and clarity in type handling within debug messages. By switching to `zeichenkette(__datei__)` for converting the file name to a string, the code becomes more readable and aligns with best practices for type conversion. This adjustment is particularly relevant for maintaining code quality and could help in future troubleshooting or enhancements by making the debug output more predictable and standardized. --- tests/test.deu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.deu b/tests/test.deu index c79db78..982aa0b 100644 --- a/tests/test.deu +++ b/tests/test.deu @@ -1,7 +1,7 @@ # Tests für `drucke()` und globale Variablen drucke("Starte Tests...") -drucke(f"Aktuelle Datei: " + str(__datei__)) +drucke(f"Aktuelle Datei: " + zeichenkette(__datei__)) # Import-Tests