diff options
author | R David Murray <rdmurray@bitdance.com> | 2013-12-27 11:24:32 -0500 |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2013-12-27 11:24:32 -0500 |
commit | ecff5e51a5c65037103c23c937a02184050b7117 (patch) | |
tree | fa5bf717b4756d992b8205852f40055d6f635833 /Lib/test/test_sundry.py | |
parent | 5eb01530b2bfba81b09e5129caabeada2d8dc487 (diff) | |
download | cpython-git-ecff5e51a5c65037103c23c937a02184050b7117.tar.gz |
#18116: backport fix to 3.3 since real-world failure mode demonstrated.
In issue 20074 it was pointed out that getpass would fail with a traceback if
stdin was, for example /dev/null, which is a non-unlikely scenario.
Also backported the tests from issue 17484 as modified by issue 18116.
(What I really did was copy getpass.py and test_getpass.py from their
state on tip as of 17bd04fbf3d3).
Diffstat (limited to 'Lib/test/test_sundry.py')
-rw-r--r-- | Lib/test/test_sundry.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/test_sundry.py b/Lib/test/test_sundry.py index e08cf0179d..c6cca269b8 100644 --- a/Lib/test/test_sundry.py +++ b/Lib/test/test_sundry.py @@ -41,7 +41,6 @@ class TestUntestedModules(unittest.TestCase): import encodings import formatter - import getpass import html.entities import imghdr import keyword |