tests: Use python3 compatible libraries

This patch is made by using 2to3 command with some modifications.

$ find . -name *.py | xargs 2to3 -f imports -w -n

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
This commit is contained in:
Masashi Honma 2019-01-31 17:15:41 +09:00 committed by Jouni Malinen
parent 2974633d0c
commit 9c06eda01c
3 changed files with 94 additions and 77 deletions

View file

@ -14,7 +14,10 @@ logger = logging.getLogger()
import os
import signal
import socket
import SocketServer
try:
import SocketServer
except ImportError:
import socketserver as SocketServer
import struct
import tempfile