Skip to content

Add more tests for getpass #130524

@donBarbos

Description

@donBarbos

This is something I thought of when working #130496, I noticed that some tests were missing.
Test Lib/test/test_getpass.py only has three classes: GetpassGetuserTest, GetpassRawinputTest, UnixGetpassTest.

This clearly doesn't cover all cases, I think we should add at least WinGetpassTest and check that both implementations (unix_getpass and win_getpass) work the same.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions