22import re
33import concurrent .futures
44import sys
5- import concurrent .futures
5+ # import concurrent.futures
66import os
77from pathlib import Path
88
@@ -106,7 +106,7 @@ def case(input_text, expected, context='', lang='de-DE'):
106106
107107# file: scripts/py/func/checks/self_tester.py:79
108108
109- import concurrent .futures
109+ # import concurrent.futures
110110
111111
112112def _execute_self_test_core_202601311804 (logger , tmp_dir , lt_url , lang_code ):
@@ -624,21 +624,26 @@ def _execute_self_test_core(logger, tmp_dir, lt_url, lang_code):
624624import sys
625625import os
626626import time
627- import traceback
627+ # import traceback
628628from pathlib import Path
629629
630630
631631# Dummy-Logger for Proses
632632class SimpleNullLogger :
633- def info (self , msg ): pass
633+ def info (self , msg ):
634+ pass
634635
635- def error (self , msg , * args , ** kwargs ): pass
636+ def error (self , msg , * args , ** kwargs ):
637+ pass
636638
637- def warning (self , msg ): pass
639+ def warning (self , msg ):
640+ pass
638641
639- def debug (self , msg ): pass
642+ def debug (self , msg ):
643+ pass
640644
641- def exception (self , msg , * args , ** kwargs ): pass
645+ def exception (self , msg , * args , ** kwargs ):
646+ pass
642647
643648# if somebody is confused send him:
644649# find . -name "*settings.py" ✔
@@ -648,7 +653,7 @@ def run_single_test_process(index, test_data, lang_code, lt_url, test_base_dir_s
648653 import importlib .util
649654 import sys
650655 import os
651- import time # Bleibt für andere Zwecke
656+
652657 from pathlib import Path
653658
654659 current_file = Path (__file__ ).resolve ()
@@ -678,7 +683,7 @@ def run_single_test_process(index, test_data, lang_code, lt_url, test_base_dir_s
678683
679684 # 4. NANOSEKUNDEN + INDEX für absolute Eindeutigkeit
680685 # time.time_ns() liefert z.B. 1705678901234567890
681- unique_id_ns = time .time_ns () + index
686+ # unique_id_ns = time.time_ns() + index
682687
683688 # Wir konvertieren es in einen Float-Sekunden-Wert für die Funktion,
684689 # aber mit extrem hoher Präzision.
@@ -708,7 +713,8 @@ def run_single_test_process(index, test_data, lang_code, lt_url, test_base_dir_s
708713 os .remove (result_file )
709714 try :
710715 worker_dir .rmdir ()
711- except :
716+ except Exception as e :
717+ print (f'717: { e } ' )
712718 pass
713719
714720 return actual == expected , raw_text , actual , expected , description
0 commit comments