Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_pkg.py @ 16517:eee67a84e5fa legacy-trunk
String method conversion.
| author | Eric S. Raymond <esr@thyrsus.com> |
|---|---|
| date | Fri, 09 Feb 2001 11:51:27 +0000 |
| parents | abfb11f8e051 |
| children | edd9d0b3c47e |
line wrap: on
line diff
--- a/Lib/test/test_pkg.py Fri Feb 09 11:46:37 2001 +0000 +++ b/Lib/test/test_pkg.py Fri Feb 09 11:51:27 2001 +0000 @@ -1,6 +1,6 @@ # Test packages (dotted-name import) -import sys, os, string, tempfile, traceback +import sys, os, tempfile, traceback from os import mkdir, rmdir # Can't test if these fail del mkdir, rmdir from test_support import verify, verbose, TestFailed @@ -10,7 +10,7 @@ def mkhier(root, descr): mkdir(root) for name, contents in descr: - comps = string.split(name) + comps = name.split() fullname = root for c in comps: fullname = os.path.join(fullname, c)
