Skip to content

Commit

Permalink
Another regex fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaycedowell committed Feb 20, 2024
1 parent 962339f commit 0c8f19b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
pass
run_scripts_tests &= (sys.version_info[0] >= 3)

_LINT_RE = re.compile('(?P<module>.*?)\:(?P<line>[0-9]+)\: \[(?P<type>.*?)\] (?P<info>.*)')
_LINT_RE = re.compile('(?P<module>.*?):(?P<line>[0-9]+): \[(?P<type>.*?)\] (?P<info>.*)')

@unittest.skipUnless(run_scripts_tests, "requires the 'pylint' module")
class ScriptTest(unittest.TestCase):
Expand Down

0 comments on commit 0c8f19b

Please sign in to comment.