Skip to content

Commit

Permalink
format_map is python 3.2 or later only (see also ros-infrastructure#602)
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolausDemmel committed Oct 27, 2018
1 parent 047b058 commit 434d30c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_flake8.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def test_flake8():
report._application.formatter.show_statistics(report._stats)
print(
'flake8 reported {report.total_errors} errors'
.format_map(locals()), file=sys.stderr)
.format(**locals()), file=sys.stderr)

assert not report.total_errors, \
'flake8 reported {report.total_errors} errors'.format(**locals())

0 comments on commit 434d30c

Please sign in to comment.