summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pwd.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_pwd.py')
-rw-r--r--Lib/test/test_pwd.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_pwd.py b/Lib/test/test_pwd.py
index 7425f53..2cb122b 100644
--- a/Lib/test/test_pwd.py
+++ b/Lib/test/test_pwd.py
@@ -1,6 +1,5 @@
from test_support import verbose
import pwd
-import string
print 'pwd.getpwall()'
entries = pwd.getpwall()
@@ -50,7 +49,7 @@ while bynames.has_key(fakename):
except IndexError:
# should never happen... if so, just forget it
break
- fakename = string.join(map(None, chars), '')
+ fakename = ''.join(map(None, chars))
try:
pwd.getpwnam(fakename)