Skip to content

Commit

Permalink
RegEx fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaycedowell committed Feb 20, 2024
1 parent 012aa2f commit 53f0f2d
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>\d+)\: \[(?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 53f0f2d

Please sign in to comment.