We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca46d3d commit 778e839Copy full SHA for 778e839
Lib/test/test_getpass.py
@@ -167,8 +167,7 @@ def test_falls_back_to_stdin(self):
167
self.assertIn('Password:', stderr.getvalue())
168
169
170
-@unittest.skipIf(msvcrt is None, 'tests require system with msvcrt (Windows)')
171
-@unittest.skipUnless(support.MS_WINDOWS, "Windows-specific tests")
+@unittest.skipUnless(msvcrt, 'tests require system with msvcrt')
172
class WinGetpassTest(unittest.TestCase):
173
174
def test_uses_msvcrt_directly(self):
0 commit comments