Update of /cvsroot/python/python/nondist/sandbox/datetime In directory usw-pr-cvs1:/tmp/cvs-serv21041 Modified Files: datetime.py test_datetime.py Log Message: Typo repair. Index: datetime.py =================================================================== RCS file: /cvsroot/python/python/nondist/sandbox/datetime/datetime.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** datetime.py 1 Mar 2002 23:53:47 -0000 1.6 --- datetime.py 1 Mar 2002 23:55:55 -0000 1.7 *************** *** 120,124 **** raise ValueError('second must be in 0..59', second) if not 0 <= microsecond <= 999999: ! raise ValueError('second must be in 0..999999', microsecond) if tzoffset is None: if datetime.__isdst is None: --- 120,124 ---- raise ValueError('second must be in 0..59', second) if not 0 <= microsecond <= 999999: ! raise ValueError('microsecond must be in 0..999999', microsecond) if tzoffset is None: if datetime.__isdst is None: Index: test_datetime.py =================================================================== RCS file: /cvsroot/python/python/nondist/sandbox/datetime/test_datetime.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** test_datetime.py 1 Mar 2002 23:53:47 -0000 1.3 --- test_datetime.py 1 Mar 2002 23:55:55 -0000 1.4 *************** *** 56,60 **** self.assertRaises(ValueError, datetime, 2100, 2, 29) self.assertRaises(ValueError, datetime, 1900, 2, 29) - self.assertRaises(ValueError, datetime, 1900, 2, 29) self.assertRaises(ValueError, datetime, 2000, 1, 0) self.assertRaises(ValueError, datetime, 2000, 1, 32) --- 56,59 ----
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4