aboutsummaryrefslogtreecommitdiff
path: root/tests/scripts/mbedtls_test.py
diff options
context:
space:
mode:
authorMohammad Azim Khan <Azim.Khan@arm.com>2018-07-06 00:29:09 +0100
committerMohammad Azim Khan <Azim.Khan@arm.com>2018-08-06 11:42:56 +0100
commit32cbcdac8fecf4709908372779a8f0fa160e6990 (patch)
treea76e4c9c37d629165d4775ab6912cc73447bb0cb /tests/scripts/mbedtls_test.py
parent630281349e8b693cc0cc1bf96ae80c9e2a5296cd (diff)
downloadmbedtls-32cbcdac8fecf4709908372779a8f0fa160e6990.zip
mbedtls-32cbcdac8fecf4709908372779a8f0fa160e6990.tar.gz
mbedtls-32cbcdac8fecf4709908372779a8f0fa160e6990.tar.bz2
Fix Pylint errors in Python scripts
Diffstat (limited to 'tests/scripts/mbedtls_test.py')
-rwxr-xr-xtests/scripts/mbedtls_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scripts/mbedtls_test.py b/tests/scripts/mbedtls_test.py
index 5570310..8e8a89b 100755
--- a/tests/scripts/mbedtls_test.py
+++ b/tests/scripts/mbedtls_test.py
@@ -80,7 +80,7 @@ class TestDataParser(object):
out = re.sub(r'(\\.)|' + split_char,
lambda m: m.group(1) or '\n', inp_str,
len(inp_str)).split('\n')
- out = filter(lambda x: x or False, out)
+ out = [x for x in out if x]
return out
def __parse(self, data_f):