tty isn't supported on all boxes.

This commit is contained in:
Tim Peters 2006-04-13 03:09:40 +00:00
parent b66871f1c0
commit ba8194bd2a
1 changed files with 6 additions and 1 deletions

View File

@ -68,7 +68,12 @@ import telnetlib
import timeit
import toaiff
import token
import tty
try:
import tty # not available on Windows
except ImportError:
if verbose:
print "skipping tty"
# Can't test the "user" module -- if the user has a ~/.pythonrc.py, it
# can screw up all sorts of things (esp. if it prints!).
#import user