diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-03-23 17:45:55 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-03-23 17:45:55 (GMT) |
commit | 4a1c7d2c3699a0f201ec2bb277ebcadf3f863759 (patch) | |
tree | e34e636e85e1ab0636b7c793a5351669fc7124cd /Lib | |
parent | d0217ab660141977b7d8fd7bbfc847e6186fbf62 (diff) | |
download | cpython-4a1c7d2c3699a0f201ec2bb277ebcadf3f863759.zip cpython-4a1c7d2c3699a0f201ec2bb277ebcadf3f863759.tar.gz cpython-4a1c7d2c3699a0f201ec2bb277ebcadf3f863759.tar.bz2 |
Try to fix test_spwd on OpenIndiana
Issue #18787: try to get the "root" entry which should exist on all UNIX
instead of "bin" which doesn't exist on OpenIndiana.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_spwd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_spwd.py b/Lib/test/test_spwd.py index fca809e..3a11a2d 100644 --- a/Lib/test/test_spwd.py +++ b/Lib/test/test_spwd.py @@ -62,7 +62,7 @@ class TestSpwdNonRoot(unittest.TestCase): def test_getspnam_exception(self): with self.assertRaises(PermissionError) as cm: - spwd.getspnam('bin') + spwd.getspnam('root') self.assertEqual(str(cm.exception), '[Errno 13] Permission denied') |