mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Merged revisions 87921 via svnmerge from
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 ........
This commit is contained in:
parent
4fb96f41f4
commit
622ce124b6
1 changed files with 2 additions and 1 deletions
|
@ -240,7 +240,8 @@ class TimeTestCase(unittest.TestCase):
|
||||||
tt = time.localtime(t)
|
tt = time.localtime(t)
|
||||||
except (OverflowError, ValueError):
|
except (OverflowError, ValueError):
|
||||||
pass
|
pass
|
||||||
self.assertEqual(time.mktime(tt), t)
|
else:
|
||||||
|
self.assertEqual(time.mktime(tt), t)
|
||||||
|
|
||||||
class TestLocale(unittest.TestCase):
|
class TestLocale(unittest.TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue