From fc170b1fd5db978f4e8d4c23c138a7b59df681ec Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 9 Feb 2001 11:51:27 +0000 Subject: String method conversion. --- Lib/test/test_pkg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/test/test_pkg.py') diff --git a/Lib/test/test_pkg.py b/Lib/test/test_pkg.py index d915e10ce6..f699af40d5 100644 --- a/Lib/test/test_pkg.py +++ b/Lib/test/test_pkg.py @@ -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 @@ from test_support import verify, verbose, TestFailed 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) -- cgit v1.2.1