Refactoring text/html difference processor (#3475)

This commit is contained in:
dgtlmoon
2025-10-09 18:30:53 +02:00
committed by GitHub
parent 6ad4acc9fc
commit 3b9d19df43
6 changed files with 474 additions and 305 deletions

View File

@@ -49,7 +49,7 @@ def measure_memory_usage(request):
# Note: ru_maxrss is in kilobytes on Unix-based systems
max_memory_used = memory_usage["peak"] / 1024 # Convert to MB
s = f"Peak memory used by the test {request.node.fspath} - '{request.node.name}': {max_memory_used:.2f} MB"
s = f"{time.time()} Peak memory used by the test {request.node.fspath} - '{request.node.name}': {max_memory_used:.2f} MB"
logger.debug(s)
with open("test-memory.log", 'a') as f: