[Python-checkins] CVS: python/nondist/sandbox/datetime test_datetime.py,1.21,1.22

Tim Peters tim_one@users.sourceforge.net
Sun, 03 Mar 2002 17:18:14 -0800


Update of /cvsroot/python/python/nondist/sandbox/datetime
In directory usw-pr-cvs1:/tmp/cvs-serv29431

Modified Files:
	test_datetime.py 
Log Message:
test_basic_attributes():  Verify that microsecond defaulted to 0.


Index: test_datetime.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/datetime/test_datetime.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** test_datetime.py	4 Mar 2002 01:14:59 -0000	1.21
--- test_datetime.py	4 Mar 2002 01:18:12 -0000	1.22
***************
*** 19,22 ****
--- 19,23 ----
          self.assertEqual(dt.minute, 0)
          self.assertEqual(dt.second, 0)
+         self.assertEqual(dt.microsecond, 0)
  
      def test_roundtrip(self):