[Python-checkins] python/dist/src/Lib/test test_datetime.py,1.8,1.9 test_descr.py,1.171,1.172 test_macpath.py,1.1,1.2 test_ntpath.py,1.17,1.18 test_shelve.py,1.1,1.2

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Tue, 24 Dec 2002 10:31:30 -0800


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

Modified Files:
	test_datetime.py test_descr.py test_macpath.py test_ntpath.py 
	test_shelve.py 
Log Message:
Whitespace normalization.


Index: test_datetime.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_datetime.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** test_datetime.py	24 Dec 2002 05:41:27 -0000	1.8
--- test_datetime.py	24 Dec 2002 18:31:27 -0000	1.9
***************
*** 2259,2263 ****
          datestr = '0001-02-03'
          for ofs in None, zero, plus, minus, unknown:
!              for us in 0, 987001:
                  d = cls(1, 2, 3, 4, 5, 59, us, tzinfo=ofs)
                  timestr = '04:05:59' + (us and '.987001' or '')
--- 2259,2263 ----
          datestr = '0001-02-03'
          for ofs in None, zero, plus, minus, unknown:
!             for us in 0, 987001:
                  d = cls(1, 2, 3, 4, 5, 59, us, tzinfo=ofs)
                  timestr = '04:05:59' + (us and '.987001' or '')

Index: test_descr.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_descr.py,v
retrieving revision 1.171
retrieving revision 1.172
diff -C2 -d -r1.171 -r1.172
*** test_descr.py	24 Dec 2002 15:26:42 -0000	1.171
--- test_descr.py	24 Dec 2002 18:31:27 -0000	1.172
***************
*** 3448,3452 ****
                  return 2
              else:
!                 return super(C2, self).__getattribute__(attr)        
          def meth(self):
              return 1
--- 3448,3452 ----
                  return 2
              else:
!                 return super(C2, self).__getattribute__(attr)
          def meth(self):
              return 1
***************
*** 3577,3581 ****
      # order, so E's will get adjusted before adjusting F's fails.  We
      # check here that E's gets restored.
!     
      E_mro_before = E.__mro__
      D_mro_before = D.__mro__
--- 3577,3581 ----
      # order, so E's will get adjusted before adjusting F's fails.  We
      # check here that E's gets restored.
! 
      E_mro_before = E.__mro__
      D_mro_before = D.__mro__
***************
*** 3611,3615 ****
      else:
          raise TestFailed, "didn't catch MRO conflict"
!     
  def mutable_names():
      class C(object):
--- 3611,3615 ----
      else:
          raise TestFailed, "didn't catch MRO conflict"
! 
  def mutable_names():
      class C(object):
***************
*** 3618,3622 ****
      # C.__module__ could be 'test_descr' or '__main__'
      mod = C.__module__
!     
      C.__name__ = 'D'
      vereq((C.__module__, C.__name__), (mod, 'D'))
--- 3618,3622 ----
      # C.__module__ could be 'test_descr' or '__main__'
      mod = C.__module__
! 
      C.__name__ = 'D'
      vereq((C.__module__, C.__name__), (mod, 'D'))
***************
*** 3624,3628 ****
      C.__name__ = 'D.E'
      vereq((C.__module__, C.__name__), (mod, 'D.E'))
!     
  
  def test_main():
--- 3624,3628 ----
      C.__name__ = 'D.E'
      vereq((C.__module__, C.__name__), (mod, 'D.E'))
! 
  
  def test_main():

Index: test_macpath.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_macpath.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** test_macpath.py	12 Dec 2002 20:30:20 -0000	1.1
--- test_macpath.py	24 Dec 2002 18:31:27 -0000	1.2
***************
*** 62,64 ****
  if __name__ == "__main__":
      test_main()
- 
--- 62,63 ----

Index: test_ntpath.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_ntpath.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** test_ntpath.py	12 Dec 2002 20:30:20 -0000	1.17
--- test_ntpath.py	24 Dec 2002 18:31:27 -0000	1.18
***************
*** 16,20 ****
          print ""
          errors = errors + 1
!         
  tester('ntpath.splitext("foo.ext")', ('foo', '.ext'))
  tester('ntpath.splitext("/foo/foo.ext")', ('/foo/foo', '.ext'))
--- 16,20 ----
          print ""
          errors = errors + 1
! 
  tester('ntpath.splitext("foo.ext")', ('foo', '.ext'))
  tester('ntpath.splitext("/foo/foo.ext")', ('/foo/foo', '.ext'))

Index: test_shelve.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_shelve.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** test_shelve.py	8 Dec 2002 18:36:24 -0000	1.1
--- test_shelve.py	24 Dec 2002 18:31:27 -0000	1.2
***************
*** 8,12 ****
  
      fn = "shelftemp.db"
!     
      def test_ascii_file_shelf(self):
          try:
--- 8,12 ----
  
      fn = "shelftemp.db"
! 
      def test_ascii_file_shelf(self):
          try: