Do not crash if module ioucon is loaded by tests on Windows

This commit is contained in:
Julien Duponchelle committed 2015-05-26 11:55:30 +02:00
1 parent 289b68e5c1
commit f1ab682be9
1 file changed
+7 -3
+7 -3
View File
@@ -21,10 +21,14 @@ import socket
import sys
import os
import select
import fcntl
try:
import fcntl
import termios
import tty
except ImportError:
# On windows it's not available but this module can be included by the test suite
pass
import struct
import termios
import tty
import time
import argparse
import traceback