Skip to content

Commit 32a9a8b

Browse files
committed
Minor fixes
1 parent d2b9681 commit 32a9a8b

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

tools/host_tests/hello_auto.py

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

18-
class HelloTest():
1918
class HelloTest(object):
2019
HELLO_WORLD = "Hello World"
2120

tools/host_tests/mbedrpc.py

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

3030
from future import standard_library
3131
standard_library.install_aliases()
32-
import serial, urllib.request, urllib.error, urllib.parse, time
32+
import serial, urllib.request, time
3333

3434
# mbed super class
3535
class mbed(object):

tools/host_tests/tcpecho_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
N_PACKETS = 5000
2727
TOT_BITS = float(LEN_PACKET * N_PACKETS * 8) * 2
2828
MEGA = float(1024 * 1024)
29-
UPDATE_STEP = N_PACKETS // 10
29+
UPDATE_STEP = (N_PACKETS // 10)
3030

3131
class TCP_EchoClient(object):
3232
def __init__(self, host):

tools/host_tests/udpecho_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
N_PACKETS = 5000
2727
TOT_BITS = float(LEN_PACKET * N_PACKETS * 8) * 2
2828
MEGA = float(1024 * 1024)
29-
UPDATE_STEP = N_PACKETS // 10
29+
UPDATE_STEP = (N_PACKETS // 10)
3030

3131
class UDP_EchoClient(object):
3232
s = socket(AF_INET, SOCK_DGRAM)

0 commit comments

Comments
 (0)