Show More
@@ -21,9 +21,11 class py3docchecker(doctest.OutputChecke | |||||
21 | r'''^mercurial\.\w+\.(\w+): (['"])(.*?)\2''', |
|
21 | r'''^mercurial\.\w+\.(\w+): (['"])(.*?)\2''', | |
22 | r'\1: \3', |
|
22 | r'\1: \3', | |
23 | got2, |
|
23 | got2, | |
24 | re.MULTILINE, |
|
24 | flags=re.MULTILINE, | |
25 | ) |
|
25 | ) | |
26 | got2 = re.sub(r'^mercurial\.\w+\.(\w+): ', r'\1: ', got2, re.MULTILINE) |
|
26 | got2 = re.sub( | |
|
27 | r'^mercurial\.\w+\.(\w+): ', r'\1: ', got2, flags=re.MULTILINE | |||
|
28 | ) | |||
27 | return any( |
|
29 | return any( | |
28 | doctest.OutputChecker.check_output(self, w, g, optionflags) |
|
30 | doctest.OutputChecker.check_output(self, w, g, optionflags) | |
29 | for w, g in [(want, got), (want2, got2)] |
|
31 | for w, g in [(want, got), (want2, got2)] |
General Comments 0
You need to be logged in to leave comments.
Login now