Mailing List Archive

python/nondist/sandbox/datetime test_both.py,1.9,1.10 test_cdatetime.py,1.11,1.12 test_datetime.py,1.51,1.52
Update of /cvsroot/python/python/nondist/sandbox/datetime
In directory sc8-pr-cvs1:/tmp/cvs-serv1058

Modified Files:
test_both.py test_cdatetime.py test_datetime.py
Log Message:
Moved test_ctime into test_both.


Index: test_both.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/datetime/test_both.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** test_both.py 26 Nov 2002 18:03:23 -0000 1.9
--- test_both.py 26 Nov 2002 21:22:38 -0000 1.10
***************
*** 411,414 ****
--- 411,418 ----
self.assertEqual(str(t), "0002-03-02 04:05:01.000123")

+ def test_ctime(self):
+ t = self.theclass(2002, 3, 2, 18, 3, 5, 123)
+ self.assertEqual(t.ctime(), "Sat Mar 2 18:03:05 2002")
+



Index: test_cdatetime.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/datetime/test_cdatetime.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** test_cdatetime.py 26 Nov 2002 18:03:24 -0000 1.11
--- test_cdatetime.py 26 Nov 2002 21:22:38 -0000 1.12
***************
*** 96,102 ****
self.assertEqual(self.theclass(1956, 1, 2+i).isoweekday(), i+1)

- def test_ctime(self):
- t = self.theclass(2002, 3, 2, 18, 3, 5, 123)
- self.assertEqual(t.ctime(), "Sat Mar 2 18:03:05 2002")


--- 96,99 ----

Index: test_datetime.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/datetime/test_datetime.py,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -d -r1.51 -r1.52
*** test_datetime.py 26 Nov 2002 18:03:24 -0000 1.51
--- test_datetime.py 26 Nov 2002 21:22:38 -0000 1.52
***************
*** 369,376 ****
self.assertEqual(timestamp, tm.time())

- def test_ctime(self):
- t = self.theclass(2002, 3, 2, 18, 3, 5, 123)
- self.assertEqual(t.ctime(), "Sat Mar 2 18:03:05 2002")
-
def test_combine(self):
d = date(2002, 3, 4)
--- 369,372 ----