Fix docstrings in pytester

This commit is contained in:
Bruno Oliveira 2017-11-22 17:15:59 -02:00
parent f05333ab75
commit 1d26f3730f
1 changed files with 2 additions and 2 deletions

View File

@ -1085,10 +1085,10 @@ class LineMatcher:
self._match_lines_random(lines2, fnmatch) self._match_lines_random(lines2, fnmatch)
def re_match_lines_random(self, lines2): def re_match_lines_random(self, lines2):
"""Check lines exist in the output. """Check lines exist in the output using ``re.match``, in any order.
The argument is a list of lines which have to occur in the The argument is a list of lines which have to occur in the
output, in any order. Each line can contain glob whildcards. output, in any order.
""" """
self._match_lines_random(lines2, lambda name, pat: re.match(pat, name)) self._match_lines_random(lines2, lambda name, pat: re.match(pat, name))