Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Issue #11886: Fix also test_time for the non-DST timezone name (EST/AEST) | Victor Stinner | 2011-12-10 | 1 | -4/+6 | |
| | | ||||||
* | | (Merge 3.2) Issue #11886: workaround an OS bug (time zone data) in test_time | Victor Stinner | 2011-12-07 | 1 | -1/+6 | |
|\ \ | |/ | | | | | | | | | | | Australian Eastern Standard Time (UTC+10) is called "EST" (as Eastern Standard Time, UTC-5) instead of "AEST" on some operating systems (e.g. FreeBSD), which is wrong. See for example this bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=93810 | |||||
| * | Issue #11886: workaround an OS bug (time zone data) in test_time | Victor Stinner | 2011-12-07 | 1 | -1/+6 | |
| | | | | | | | | | | | | | | Australian Eastern Standard Time (UTC+10) is called "EST" (as Eastern Standard Time, UTC-5) instead of "AEST" on some operating systems (e.g. FreeBSD), which is wrong. See for example this bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=93810 | |||||
* | | Use unittest.skipUnless to skip the test related to the glibc bug, issue #13309. | Florent Xicluna | 2011-11-11 | 1 | -12/+13 | |
| | | ||||||
* | | Avoid a glibc bug in test_time (issue #13309) | Antoine Pitrou | 2011-11-11 | 1 | -3/+5 | |
| | | ||||||
* | | Issue #13312: skip the failing negative years for now. | Florent Xicluna | 2011-11-02 | 1 | -3/+4 | |
| | | ||||||
* | | Actually, there's more than one failing value. (changeset 9cb1b85237a9, ↵ | Florent Xicluna | 2011-11-02 | 1 | -2/+3 | |
| | | | | | | | | issue #13312). | |||||
* | | Issue #13312: skip the single failing value for now. | Florent Xicluna | 2011-11-02 | 1 | -1/+3 | |
| | | ||||||
* | | Additional tests for negative years. | Florent Xicluna | 2011-11-01 | 1 | -0/+2 | |
| | | ||||||
* | | Lowercase the test name, to run last. | Florent Xicluna | 2011-11-01 | 1 | -4/+3 | |
| | | ||||||
* | | Replace temporary tests with the real test case for issue #13309 on Gentoo. | Florent Xicluna | 2011-11-01 | 1 | -7/+9 | |
| | | ||||||
* | | Troubleshoot issue #13309 on Gentoo buildbot. | Florent Xicluna | 2011-11-01 | 1 | -2/+4 | |
| | | ||||||
* | | Add temporary tests to troubleshoot issue #13309 on Gentoo buildbot. | Florent Xicluna | 2011-11-01 | 1 | -0/+4 | |
| | | ||||||
* | | Test the year range supported by time.strftime() and time.asctime(). | Florent Xicluna | 2011-11-01 | 1 | -37/+59 | |
| | | ||||||
* | | Strengthen the tests for format '%Y', in relation with issue #13305. | Florent Xicluna | 2011-11-01 | 1 | -14/+52 | |
| | | ||||||
* | | Close #10278: Add clock_getres(), clock_gettime() and CLOCK_xxx constants to | Victor Stinner | 2011-10-25 | 1 | -0/+21 | |
| | | | | | | | | | | the time module. time.clock_gettime(time.CLOCK_MONOTONIC) provides a monotonic clock | |||||
* | | Issue #12459: time.sleep() now raises a ValueError if the sleep length is | Victor Stinner | 2011-07-05 | 1 | -0/+2 | |
| | | | | | | | | | | negative, instead of an infinite sleep on Windows or raising an IOError on Linux for example, to have the same behaviour on all platforms. | |||||
* | | Issue #11930: Remove deprecated time.accept2dyear. | Alexander Belopolsky | 2011-05-02 | 1 | -57/+6 | |
|/ | ||||||
* | Merge from 3.1 | Senthil Kumaran | 2011-04-06 | 1 | -0/+8 | |
|\ | ||||||
| * | Issue #10762: Guard against invalid/non-supported format string '%f' on ↵ | Senthil Kumaran | 2011-04-06 | 1 | -0/+8 | |
| | | | | | | | | Windows. Patch Santoso Wijaya. | |||||
| * | Merged revisions 87921 via svnmerge from | Alexander Belopolsky | 2011-02-15 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87921 | alexander.belopolsky | 2011-01-10 21:22:16 -0500 (Mon, 10 Jan 2011) | 1 line This should fix mktime test on Windows ........ | |||||
| * | Merged revisions 87919 via svnmerge from | Alexander Belopolsky | 2011-02-15 | 1 | -0/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87919 | alexander.belopolsky | 2011-01-10 20:21:25 -0500 (Mon, 10 Jan 2011) | 4 lines Issue #1726687: time.mktime() will now correctly compute value one second before epoch. Original patch by Peter Wang, reported by Martin Blais. ........ | |||||
| * | Issue 10814: time.asctime test will now use a valid day with out of range year. | Alexander Belopolsky | 2011-01-03 | 1 | -1/+1 | |
| | | ||||||
| * | Merged revisions 87648,87656 via svnmerge from | Alexander Belopolsky | 2011-01-02 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87648 | alexander.belopolsky | 2011-01-02 15:48:22 -0500 (Sun, 02 Jan 2011) | 1 line Issue #8013: Fixed time.asctime segfault when OS's asctime fails ........ r87656 | alexander.belopolsky | 2011-01-02 17:16:10 -0500 (Sun, 02 Jan 2011) | 1 line Issue #8013: Fixed test ........ | |||||
| * | Merged revisions 87222 via svnmerge from | R. David Murray | 2010-12-14 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87222 | r.david.murray | 2010-12-13 20:22:50 -0500 (Mon, 13 Dec 2010) | 2 lines Use skipIf instead of a return when attribute doesn't exist. ........ | |||||
| * | Merged revisions 86596 via svnmerge from | Ezio Melotti | 2010-11-21 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........ | |||||
| * | Merged revisions 73715 via svnmerge from | Georg Brandl | 2009-08-13 | 1 | -24/+24 | |
| | | | | | | | | | | | | | | | | | | | | svn+ssh://svn.python.org/python/branches/py3k ........ r73715 | benjamin.peterson | 2009-07-01 01:06:06 +0200 (Mi, 01 Jul 2009) | 1 line convert old fail* assertions to assert* ........ | |||||
* | | Issue #10864 has been fixed: remove the workaround | Victor Stinner | 2011-03-21 | 1 | -6/+2 | |
| | | ||||||
* | | This should fix mktime test on Windows | Alexander Belopolsky | 2011-01-11 | 1 | -1/+2 | |
| | | ||||||
* | | Make mktime test more robust. | Alexander Belopolsky | 2011-01-11 | 1 | -3/+7 | |
| | | ||||||
* | | Issue #1726687: time.mktime() will now correctly compute value one | Alexander Belopolsky | 2011-01-11 | 1 | -0/+13 | |
| | | | | | | | | | | second before epoch. Original patch by Peter Wang, reported by Martin Blais. | |||||
* | | Issue #1777412: Remove all limits on tm_year from time.strftime() | Victor Stinner | 2011-01-08 | 1 | -17/+19 | |
| | | | | | | | | The buildbots will tell us which platform does support or not negative years. | |||||
* | | Issue #1777412: fix test_time for Mac OS X and OpenIndiana | Victor Stinner | 2011-01-08 | 1 | -9/+14 | |
| | | ||||||
* | | Issue #1777412: test large years value for strftime('%Y') | Victor Stinner | 2011-01-08 | 1 | -5/+10 | |
| | | ||||||
* | | Issue #1777412: strftime() accepts year >= 1 instead of year >= 1900 | Victor Stinner | 2011-01-08 | 1 | -30/+70 | |
| | | | | | | | | | | * With Visual Studio, year have to be in [1; 9999] * Add more tests on the year field | |||||
* | | Fixed error handling branches. Thanks | Alexander Belopolsky | 2011-01-08 | 1 | -1/+12 | |
| | | | | | | | | Victor Stinner for pointing this out. | |||||
* | | Issue #10827: Changed the rules for 2-digit years. The time.asctime | Alexander Belopolsky | 2011-01-07 | 1 | -26/+36 | |
| | | | | | | | | | | | | | | | | function will now format any year when time.accept2dyear is false and will accept years >= 1000 otherwise. The year range accepted by time.mktime and time.strftime is still system dependent, but time.mktime will now accept full range supported by the OS. Conversion of 2-digit years to 4-digit is deprecated. | |||||
* | | Further simplify gettmarg() | Alexander Belopolsky | 2011-01-06 | 1 | -0/+1 | |
| | | ||||||
* | | - time.accept2dyear = True is now equivalent to time.accept2dyear = 1 | Alexander Belopolsky | 2011-01-05 | 1 | -1/+41 | |
| | | | | | | | | | | | | - removed unnecessary struct_time to tuple conversion - added more unit tests (See issue #10827 for discussion.) | |||||
* | | test_time: assertEquals => assertEqual | Victor Stinner | 2011-01-05 | 1 | -1/+1 | |
| | | ||||||
* | | Fix test_time under Windows | Antoine Pitrou | 2011-01-04 | 1 | -1/+1 | |
| | | ||||||
* | | Fix exception catching. | Georg Brandl | 2011-01-04 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #8013: Fix time.ctime test failure on 32-bit platforms. | Alexander Belopolsky | 2011-01-04 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #8013: time.asctime and time.ctime no longer call system asctime | Alexander Belopolsky | 2011-01-04 | 1 | -17/+16 | |
| | | | | | | | | | | | | | | and ctime functions. The year range for time.asctime is now 1900 through maxint. The range for time.ctime is the same as for time.localtime. The string produced by these functions is longer than 24 characters when year is greater than 9999. | |||||
* | | #8013 follow-up: | Georg Brandl | 2011-01-02 | 1 | -6/+20 | |
| | | | | | | | | | | | | * In asctime and ctime, properly remove the newline if the year has more than four digits * Consistent error message for both functions * Fix the test comments and add a check for the removed newline | |||||
* | | Issue #8013: Fixed test | Alexander Belopolsky | 2011-01-02 | 1 | -2/+9 | |
| | | ||||||
* | | Issue #8013: Fixed time.asctime segfault when OS's asctime fails | Alexander Belopolsky | 2011-01-02 | 1 | -0/+3 | |
| | | ||||||
* | | Use skipIf instead of a return when attribute doesn't exist. | R. David Murray | 2010-12-14 | 1 | -2/+2 | |
| | | ||||||
* | | #9424: Replace deprecated assert* methods in the Python test suite. | Ezio Melotti | 2010-11-20 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #6608: time.asctime is now checking struct tm fields its input | Alexander Belopolsky | 2010-10-01 | 1 | -17/+23 | |
| | | | | | | | | before passing it to the system asctime. Patch by MunSic Jeong. |