X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=tests%2Futils%2Fpython%2Ftap%2Fdirective.py;fp=tests%2Futils%2Fpython%2Ftap%2Fdirective.py;h=6be71bbb7ff6dd48883010caea6107e2d717cf06;hp=27e8bb2eb98a457284a1fb0cf7ab09826266a9fc;hb=768f9bcbf4b5acd09dda85ab32c0ea30d8826136;hpb=53a47a3f01d6bfa4e940e1943e7645cb89d04cd5 diff --git a/tests/utils/python/tap/directive.py b/tests/utils/python/tap/directive.py index 27e8bb2e..6be71bbb 100644 --- a/tests/utils/python/tap/directive.py +++ b/tests/utils/python/tap/directive.py @@ -12,12 +12,14 @@ class Directive(object): r"""^SKIP\S* (?P\s*) # Optional whitespace. (?P.*) # Slurp up the rest.""", - re.IGNORECASE | re.VERBOSE) + re.IGNORECASE | re.VERBOSE, + ) todo_pattern = re.compile( r"""^TODO\b # The directive name (?P\s*) # Immediately following must be whitespace. (?P.*) # Slurp up the rest.""", - re.IGNORECASE | re.VERBOSE) + re.IGNORECASE | re.VERBOSE, + ) def __init__(self, text): """Initialize the directive by parsing the text.