reframe-hpc / reframe

A powerful Python framework for writing and running portable regression tests and benchmarks for HPC systems.
https://reframe-hpc.readthedocs.org
BSD 3-Clause "New" or "Revised" License
214 stars 102 forks source link

Typo in docs section "Debugging sanity and performance patterns" #3045

Closed vkarak closed 9 months ago

vkarak commented 10 months ago

In the following code snippet

import re

# Read the test's output
with open(the_output_file, 'r') as f:
    test_output = ''.join(f.readlines())

# Evaluate the regular expression
re.find(the_regex_pattern, test_output)

re.find must be replaced with re.findall and re.MULTILINE should also be used.

CC: @flx42