Skip to content

Commit 59fb5ae

Browse files
author
Theofilos Manitaras
committed
Address PR comments
1 parent 0f35b22 commit 59fb5ae

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

reframe/utility/sanity.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,10 @@ def assert_found(patt, filename, msg=None, encoding='utf-8'):
362362
:arg patt: The regex pattern to search.
363363
Any standard Python `regular expression
364364
<https://docs.python.org/3/library/re.html#regular-expression-syntax>`_
365-
is accepted. The `re.MULTILINE
365+
is accepted.
366+
The `re.MULTILINE
366367
<https://docs.python.org/3/library/re.html#re.MULTILINE>`_ flag
367-
is used for the pattern search.
368+
is set for the pattern search.
368369
369370
:arg filename: The name of the file to examine.
370371
Any :class:`OSError` raised while processing the file will be
@@ -505,9 +506,10 @@ def findall(patt, filename, encoding='utf-8'):
505506
:arg patt: The regex pattern to search.
506507
Any standard Python `regular expression
507508
<https://docs.python.org/3/library/re.html#regular-expression-syntax>`_
508-
is accepted. The `re.MULTILINE
509+
is accepted.
510+
The `re.MULTILINE
509511
<https://docs.python.org/3/library/re.html#re.MULTILINE>`_ flag
510-
is used for the pattern search.
512+
is set for the pattern search.
511513
:arg filename: The name of the file to examine.
512514
:arg encoding: The name of the encoding used to decode the file.
513515
:returns: A list of raw `regex match objects
@@ -560,9 +562,10 @@ def extractall(patt, filename, tag=0, conv=None, encoding='utf-8'):
560562
:arg patt: The regex pattern to search.
561563
Any standard Python `regular expression
562564
<https://docs.python.org/3/library/re.html#regular-expression-syntax>`_
563-
is accepted. The `re.MULTILINE
565+
is accepted.
566+
The `re.MULTILINE
564567
<https://docs.python.org/3/library/re.html#re.MULTILINE>`_ flag
565-
is used for the pattern search.
568+
is set for the pattern search.
566569
:arg filename: The name of the file to examine.
567570
:arg encoding: The name of the encoding used to decode the file.
568571
:arg tag: The regex capturing group to be extracted.

0 commit comments

Comments
 (0)