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 6eddc40 commit 4f78eecCopy full SHA for 4f78eec
1 file changed
Lib/test/test_grp.py
@@ -2,7 +2,6 @@
2
3
import random
4
import string
5
-import sys
6
import unittest
7
from test.support import import_helper
8
@@ -99,11 +98,6 @@ def test_errors(self):
99
98
else:
100
self.fail('Cannot find non-existent gid')
101
102
- if sys.platform != 'cygwin':
103
- # -1 shouldn't be a valid gid because it has a special meaning in many
104
- # uid-related functions
105
- self.assertRaises(KeyError, grp.getgrgid, -1)
106
-
107
108
if __name__ == "__main__":
109
unittest.main()
0 commit comments