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.
This commit is contained in:
Kumi 2024-05-23 12:45:51 +02:00
parent e8dd82a6ba
commit aec8564839
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -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