[Python-checkins] CVS: python/dist/src/Lib/test test_pkg.py,1.12,1.13

Eric S. Raymond esr@users.sourceforge.net
Fri, 09 Feb 2001 03:51:29 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv18329

Modified Files:
	test_pkg.py 
Log Message:
String method conversion.


Index: test_pkg.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_pkg.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** test_pkg.py	2001/01/21 19:51:53	1.12
--- test_pkg.py	2001/02/09 11:51:27	1.13
***************
*** 1,5 ****
  # Test packages (dotted-name import)
  
! import sys, os, string, tempfile, traceback
  from os import mkdir, rmdir             # Can't test if these fail
  del mkdir, rmdir
--- 1,5 ----
  # Test packages (dotted-name import)
  
! import sys, os, tempfile, traceback
  from os import mkdir, rmdir             # Can't test if these fail
  del mkdir, rmdir
***************
*** 11,15 ****
      mkdir(root)
      for name, contents in descr:
!         comps = string.split(name)
          fullname = root
          for c in comps:
--- 11,15 ----
      mkdir(root)
      for name, contents in descr:
!         comps = name.split()
          fullname = root
          for c in comps: