summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_spwd.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_spwd.py')
-rw-r--r--Lib/test/test_spwd.py2
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')