[Python-checkins] cpython: #17484: add tests for getpass.
r.david.murray
python-checkins at python.org
Mon Apr 8 07:49:07 CEST 2013
http://hg.python.org/cpython/rev/4059ef685754
changeset: 83193:4059ef685754
user: R David Murray <rdmurray at bitdance.com>
date: Mon Apr 08 01:48:22 2013 -0400
summary:
#17484: add tests for getpass.
Patch by Thomas Fenzl.
files:
Lib/getpass.py | 1 +
Lib/test/test_sundry.py | 2 +-
Misc/ACKS | 1 +
3 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Lib/getpass.py b/Lib/getpass.py
--- a/Lib/getpass.py
+++ b/Lib/getpass.py
@@ -40,6 +40,7 @@
"""
fd = None
tty = None
+ passwd = None
try:
# Always try reading and writing directly on the tty first.
fd = os.open('/dev/tty', os.O_RDWR|os.O_NOCTTY)
diff --git a/Lib/test/test_sundry.py b/Lib/test/test_sundry.py
--- a/Lib/test/test_sundry.py
+++ b/Lib/test/test_sundry.py
@@ -6,7 +6,7 @@
class TestUntestedModules(unittest.TestCase):
def test_untested_modules_can_be_imported(self):
- untested = ('bdb', 'encodings', 'formatter', 'getpass', 'imghdr',
+ untested = ('bdb', 'encodings', 'formatter', 'imghdr',
'keyword', 'macurl2path', 'nturl2path', 'tabnanny')
with support.check_warnings(quiet=True):
for name in untested:
diff --git a/Misc/ACKS b/Misc/ACKS
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -367,6 +367,7 @@
Troy J. Farrell
Mark Favas
Boris Feld
+Thomas Fenzl
Niels Ferguson
Sebastian Fernandez
Florian Festi
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list