[Python-checkins] python/dist/src/Lib/test test__locale.py, 1.5, 1.6 test_posixpath.py, 1.10, 1.11 test_zipfile.py, 1.11, 1.12

tim_one at users.sourceforge.net tim_one at users.sourceforge.net
Fri Aug 20 05:47:16 CEST 2004


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18336/Lib/test

Modified Files:
	test__locale.py test_posixpath.py test_zipfile.py 
Log Message:
Whitespace normalization.


Index: test__locale.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test__locale.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** test__locale.py	14 Aug 2004 10:56:54 -0000	1.5
--- test__locale.py	20 Aug 2004 03:47:14 -0000	1.6
***************
*** 34,38 ****
              print "%r != %r" % (nl_radixchar, li_radixchar)
      if not saw_locale:
!             raise ImportError, "None of the listed locales found"
  finally:
      setlocale(LC_NUMERIC, oldlocale)
--- 34,38 ----
              print "%r != %r" % (nl_radixchar, li_radixchar)
      if not saw_locale:
!         raise ImportError, "None of the listed locales found"
  finally:
      setlocale(LC_NUMERIC, oldlocale)

Index: test_posixpath.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_posixpath.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** test_posixpath.py	14 Aug 2004 15:01:53 -0000	1.10
--- test_posixpath.py	20 Aug 2004 03:47:14 -0000	1.11
***************
*** 398,402 ****
          self.assert_("foo" in realpath("foo"))
          self.assertRaises(TypeError, posixpath.realpath)
!           
      if hasattr(os, "symlink"):
          def test_realpath_basic(self):
--- 398,402 ----
          self.assert_("foo" in realpath("foo"))
          self.assertRaises(TypeError, posixpath.realpath)
! 
      if hasattr(os, "symlink"):
          def test_realpath_basic(self):
***************
*** 407,411 ****
              finally:
                  self.safe_remove(ABSTFN)
!         
          def test_realpath_symlink_loops(self):
              # Bug #930024, return the path unchanged if we get into an infinite
--- 407,411 ----
              finally:
                  self.safe_remove(ABSTFN)
! 
          def test_realpath_symlink_loops(self):
              # Bug #930024, return the path unchanged if we get into an infinite
***************
*** 430,434 ****
                  self.safe_remove(ABSTFN+"2")
  
!         def test_realpath_resolve_parents(self):                        
              # We also need to resolve any symlinks in the parents of a relative
              # path passed to realpath. E.g.: current working directory is
--- 430,434 ----
                  self.safe_remove(ABSTFN+"2")
  
!         def test_realpath_resolve_parents(self):
              # We also need to resolve any symlinks in the parents of a relative
              # path passed to realpath. E.g.: current working directory is

Index: test_zipfile.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_zipfile.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** test_zipfile.py	19 Aug 2004 15:11:50 -0000	1.11
--- test_zipfile.py	20 Aug 2004 03:47:14 -0000	1.12
***************
*** 4,8 ****
  except ImportError:
      zlib = None
!     
  import zipfile, os, unittest
  
--- 4,8 ----
  except ImportError:
      zlib = None
! 
  import zipfile, os, unittest
  



More information about the Python-checkins mailing list