import posixpath
-import string
errors = 0
-import pty, os, sys, string
+import pty, os, sys
from test_support import verbose, TestFailed, TestSkipped
TEST_STRING_1 = "I wish to buy a fish license."
from test_support import verbose
import pwd
-import string
print 'pwd.getpwall()'
entries = pwd.getpwall()
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)
from test_support import verify, verbose, TestFailed
import re
-import sys, os, string, traceback
+import sys, os, traceback
# Misc tests from Tim Peters' re.doc
from test_support import verbose, TestFailed
import sre
-import sys, os, string, traceback
+import sys, os, traceback
#
# test support
#!/usr/bin/env python
-import sys, string
+import sys
from test_support import verbose
import string_tests
# UserString is a wrapper around the native builtin string type.