Skip to content

Commit 778e839

Browse files
Apply suggestions from code review
Co-authored-by: donBarbos <[email protected]>
1 parent ca46d3d commit 778e839

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/test/test_getpass.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,7 @@ def test_falls_back_to_stdin(self):
167167
self.assertIn('Password:', stderr.getvalue())
168168

169169

170-
@unittest.skipIf(msvcrt is None, 'tests require system with msvcrt (Windows)')
171-
@unittest.skipUnless(support.MS_WINDOWS, "Windows-specific tests")
170+
@unittest.skipUnless(msvcrt, 'tests require system with msvcrt')
172171
class WinGetpassTest(unittest.TestCase):
173172

174173
def test_uses_msvcrt_directly(self):

0 commit comments

Comments
 (0)