mirror of https://github.com/ARMmbed/mbed-os.git
Cleaned pyFlakes issues with unused imports
parent
3850ddc8c1
commit
5bca0ab3d1
|
|
@ -16,7 +16,6 @@ limitations under the License.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import re
|
import re
|
||||||
from sys import stdout
|
|
||||||
from host_test import DefaultTest
|
from host_test import DefaultTest
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ limitations under the License.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from host_test import DefaultTest
|
from host_test import DefaultTest
|
||||||
from sys import stdout
|
|
||||||
|
|
||||||
class DevNullTest(DefaultTest):
|
class DevNullTest(DefaultTest):
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,6 @@ See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import re
|
|
||||||
from sys import stdout
|
|
||||||
from host_test import DefaultTest
|
from host_test import DefaultTest
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,6 @@ limitations under the License.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import re
|
import re
|
||||||
from sys import stdout
|
|
||||||
from host_test import DefaultTest
|
from host_test import DefaultTest
|
||||||
from time import time, strftime, gmtime
|
from time import time, strftime, gmtime
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,10 +17,10 @@ limitations under the License.
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import random
|
import random
|
||||||
from sys import stdout
|
|
||||||
from time import time
|
from time import time
|
||||||
from host_test import DefaultTest
|
from host_test import DefaultTest
|
||||||
|
|
||||||
|
|
||||||
class StdioTest(DefaultTest):
|
class StdioTest(DefaultTest):
|
||||||
PATTERN_INT_VALUE = "Your value was: (-?\d+)"
|
PATTERN_INT_VALUE = "Your value was: (-?\d+)"
|
||||||
re_detect_int_value = re.compile(PATTERN_INT_VALUE)
|
re_detect_int_value = re.compile(PATTERN_INT_VALUE)
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,6 @@ limitations under the License.
|
||||||
import sys
|
import sys
|
||||||
import socket
|
import socket
|
||||||
from sys import stdout
|
from sys import stdout
|
||||||
from time import sleep
|
|
||||||
from host_test import Test
|
from host_test import Test
|
||||||
from SocketServer import BaseRequestHandler, TCPServer
|
from SocketServer import BaseRequestHandler, TCPServer
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,9 +20,9 @@ import sys
|
||||||
import uuid
|
import uuid
|
||||||
import socket
|
import socket
|
||||||
from sys import stdout
|
from sys import stdout
|
||||||
from time import time
|
|
||||||
from host_test import DefaultTest
|
from host_test import DefaultTest
|
||||||
|
|
||||||
|
|
||||||
class TCPEchoServerTest(DefaultTest):
|
class TCPEchoServerTest(DefaultTest):
|
||||||
ECHO_SERVER_ADDRESS = ""
|
ECHO_SERVER_ADDRESS = ""
|
||||||
ECHO_PORT = 0
|
ECHO_PORT = 0
|
||||||
|
|
|
||||||
|
|
@ -15,12 +15,10 @@ See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
import uuid
|
import uuid
|
||||||
from sys import stdout
|
from sys import stdout
|
||||||
from time import time
|
|
||||||
from host_test import DefaultTest
|
from host_test import DefaultTest
|
||||||
from socket import socket, AF_INET, SOCK_DGRAM
|
from socket import socket, AF_INET, SOCK_DGRAM
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,6 @@ limitations under the License.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from time import time
|
from time import time
|
||||||
from sys import stdout
|
|
||||||
from host_test import DefaultTest
|
from host_test import DefaultTest
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue