summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_getpass.py
Commit message (Collapse)AuthorAgeFilesLines
* #21169: fix getpass to use replace error handler on UnicodeEncodeError.R David Murray2014-04-141-1/+9
| | | | | | | | | If the input stream encoding couldn't encode one or more of the non-ascii characters in the prompt, it would fail, throwing a UnicodeEncodeError. Now if that happens we re-encoding using the 'replace' error handler. Patch by Kushal Das.
* #18116: getpass no longer always falls back to stdin.R David Murray2013-07-101-7/+13
| | | | | | | | Also fixes a resource warning that occurred when the fallback is taken. Patch by Serhiy Storchaka. (We couldn't figure out how to write tests for this.)
* #17699: Fix the new getpass test failures on windows.R David Murray2013-04-111-12/+25
| | | | Patch by Zachary Ware.
* #17484: Actually add the getpass tests this time.R David Murray2013-04-081-0/+136