Skip to content

Commit

Permalink
chore(tests/helpers): Fix pylint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKevinWeiss committed Aug 12, 2019
1 parent 0a41d60 commit ec3d7fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# SPDX-License-Identifier: MIT
"""Helper functions for running tests on RIOT PAL."""


def _try_parse_int(val):
try:
return int(val, 0)
Expand Down Expand Up @@ -32,7 +33,8 @@ def try_add(val):
val(int, str, list): Value to add the number to.
Return:
int: If successful returns the val + 1. If failed just retruns the val.
int: If successful returns the val + 1.
If failed just retruns the val.
"""
try:
return _try_parse_int(val)+1
Expand Down

0 comments on commit ec3d7fa

Please sign in to comment.