[Python-checkins] CVS: python/dist/src/Lib/test test_imgfile.py,1.9,1.10

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


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

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


Index: test_imgfile.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_imgfile.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** test_imgfile.py	2001/01/17 21:51:35	1.9
--- test_imgfile.py	2001/02/09 11:48:02	1.10
***************
*** 31,35 ****
      import sys
      import os
-     import string
  
      outputfile = '/tmp/deleteme'
--- 31,34 ----
***************
*** 48,54 ****
              ourname = sys.modules[__name__].__file__
  
!         parts = string.splitfields(ourname, os.sep)
          parts[-1] = name
!         name = string.joinfields(parts, os.sep)
          sizes = imgfile.getsizes(name)
      if verbose:
--- 47,53 ----
              ourname = sys.modules[__name__].__file__
  
!         parts = ourname.split(os.sep)
          parts[-1] = name
!         name = os.sep.joinfields(parts)
          sizes = imgfile.getsizes(name)
      if verbose: