mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-22 18:39:58 +00:00
mbedtls_test.py: drop compatibility with Python 2
Python 2 is no longer supported upstream. Actively drop compatibility with Python 2. Removing the inheritance of a class on object pacifies recent versions of Pylint (useless-object-inheritance). Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
aaee444c68
commit
dd4c1c6fe7
@ -1,3 +1,5 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
# Greentea host test script for Mbed TLS on-target test suite testing.
|
# Greentea host test script for Mbed TLS on-target test suite testing.
|
||||||
#
|
#
|
||||||
# Copyright (C) 2018, Arm Limited, All Rights Reserved
|
# Copyright (C) 2018, Arm Limited, All Rights Reserved
|
||||||
@ -46,7 +48,7 @@ class TestDataParserError(Exception):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class TestDataParser(object):
|
class TestDataParser:
|
||||||
"""
|
"""
|
||||||
Parses test name, dependencies, test function name and test parameters
|
Parses test name, dependencies, test function name and test parameters
|
||||||
from the data file.
|
from the data file.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user