Skip to content

Commit 32cfe6d

Browse files
committed
Fix typo in docs about sanity patterns debug
1 parent 6e60957 commit 32cfe6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorial_tips_tricks.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ With the executable's output available in the stage directory, one can simply us
115115
... test_output = ''.join(f.readlines())
116116
...
117117
>>> # Evaluate the regular expression
118-
>>> re.find(the_regex_pattern, test_output)
118+
>>> re.findall(the_regex_pattern, test_output, re.MULTILINE)
119119
120120
Alternatively to using the `re <https://docs.python.org/3/library/re.html>`_ module, one could use all the :mod:`~reframe.utility.sanity` utility provided by ReFrame directly from the Python shell.
121121
In order to do so, if ReFrame was installed manually using the ``bootstrap.sh`` script, one will have to make all the Python modules from the ``external`` directory accessible to the Python shell as shown below.

0 commit comments

Comments
 (0)