mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-05 04:36:52 +00:00
mccabe warning message was missing a ":" after the column number
update tests to match the new format with the warning code tests pass in python 2.7 and 3.2
This commit is contained in:
parent
fdb1009fc1
commit
1d4e9a8968
2 changed files with 3 additions and 3 deletions
|
|
@ -243,7 +243,7 @@ def get_code_complexity(code, min=7, filename='stdin'):
|
|||
# ?
|
||||
continue
|
||||
if graph.complexity() >= min:
|
||||
msg = '%s:%d:1 %s %r is too complex (%d)' % (
|
||||
msg = '%s:%d:1: %s %r is too complex (%d)' % (
|
||||
filename,
|
||||
graph.lineno,
|
||||
WARNING_CODE,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue