debug handling pytests added

This commit is contained in:
Clemens Schwaighofer
2025-10-24 15:44:51 +09:00
parent b3616269bc
commit 89caada4cc
6 changed files with 2869 additions and 2 deletions

View File

@@ -4,10 +4,10 @@ Various small helpers for data writing
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from io import TextIOWrapper
from io import TextIOWrapper, StringIO
def write_l(line: str, fpl: 'TextIOWrapper | None' = None, print_line: bool = False):
def write_l(line: str, fpl: 'TextIOWrapper | StringIO | None' = None, print_line: bool = False):
"""
Write a line to screen and to output file