Skip to content

Commit 23b12f4

Browse files
committed
Add in a couple of missed conversions
1 parent c223ac9 commit 23b12f4

File tree

7 files changed

+7
-5
lines changed

7 files changed

+7
-5
lines changed

tools/host_tests/default_auto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
from sys import stdout
2020

21-
class DefaultAuto():
21+
class DefaultAuto(object):
2222
""" Simple, basic host test's test runner waiting for serial port
2323
output from MUT, no supervision over test running in MUT is executed.
2424
"""

tools/host_tests/detect_auto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
import re
1919

20-
class DetectPlatformTest():
20+
class DetectPlatformTest(object):
2121
PATTERN_MICRO_NAME = "Target '(\w+)'"
2222
re_detect_micro_name = re.compile(PATTERN_MICRO_NAME)
2323

tools/host_tests/dev_null_auto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
limitations under the License.
1616
"""
1717

18-
class DevNullTest():
18+
class DevNullTest(object):
1919

2020
def check_readline(self, selftest, text):
2121
""" Reads line from serial port and checks if text was part of read string

tools/host_tests/echo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import uuid
2020
from sys import stdout
2121

22-
class EchoTest():
22+
class EchoTest(object):
2323

2424
# Test parameters
2525
TEST_SERIAL_BAUDRATE = 115200

tools/host_tests/rtc_auto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import re
1919
from time import time, strftime, gmtime
2020

21-
class RTCTest():
21+
class RTCTest(object):
2222
PATTERN_RTC_VALUE = "\[(\d+)\] \[(\d+-\d+-\d+ \d+:\d+:\d+ [AaPpMm]{2})\]"
2323
re_detect_rtc_value = re.compile(PATTERN_RTC_VALUE)
2424

tools/host_tests/tcpecho_server_loop.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616
"""
17+
from __future__ import print_function
1718
# Be sure that the tools directory is in the search path
1819
import sys
1920
from os.path import join, abspath, dirname

tools/host_tests/udpecho_server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616
"""
17+
from __future__ import print_function
1718
try:
1819
from SocketServer import BaseRequestHandler, UDPServer
1920
except ImportError:

0 commit comments

Comments
 (0)