From 56b6e523fa0a3df20696fa95628d4a13d0a096c1 Mon Sep 17 00:00:00 2001 From: Ron Eldor Date: Wed, 29 May 2019 17:17:10 +0300 Subject: [PATCH] update the test script Update `mbedtls_test.py` script to work with Python 3.7. resolves #2653 --- tests/scripts/mbedtls_test.py | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/tests/scripts/mbedtls_test.py b/tests/scripts/mbedtls_test.py index ac2912d4c..7e1cebf7d 100755 --- a/tests/scripts/mbedtls_test.py +++ b/tests/scripts/mbedtls_test.py @@ -79,8 +79,7 @@ class TestDataParser(object): split_colon_fn = lambda x: re.sub(r'\\' + split_char, split_char, x) if len(split_char) > 1: raise ValueError('Expected split character. Found string!') - out = map(split_colon_fn, re.split(r'(?