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:
parent
2974633d0c
commit
9c06eda01c
3 changed files with 94 additions and 77 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue