diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-04-13 03:09:40 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-04-13 03:09:40 (GMT) |
commit | ba8194bd2a385d49da3e7d2f40622586ce77092c (patch) | |
tree | cfa8df4eb8b27cb0778d009d7527faf45b2f07db | |
parent | b66871f1c08c4e8af6d5a6a3b289ca477ec3f0de (diff) | |
download | cpython-ba8194bd2a385d49da3e7d2f40622586ce77092c.zip cpython-ba8194bd2a385d49da3e7d2f40622586ce77092c.tar.gz cpython-ba8194bd2a385d49da3e7d2f40622586ce77092c.tar.bz2 |
tty isn't supported on all boxes.
-rw-r--r-- | Lib/test/test_sundry.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Lib/test/test_sundry.py b/Lib/test/test_sundry.py index 3fc18eb..af13684 100644 --- a/Lib/test/test_sundry.py +++ b/Lib/test/test_sundry.py @@ -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 |