Mercurial > moin-2.0
changeset 2116:21c609217761
tests: fix a unintended y2k106+ issue on platforms with 32bit time_t
| author | Thomas Waldmann <tw AT waldmann-edv DOT de> |
|---|---|
| date | Sat, 01 Jun 2013 18:38:19 +0200 |
| parents | cb15246ea90e |
| children | ad303592c64c |
| files | MoinMoin/items/_tests/test_Blog.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/items/_tests/test_Blog.py Sat Jun 01 18:35:06 2013 +0200 +++ b/MoinMoin/items/_tests/test_Blog.py Sat Jun 01 18:38:19 2013 +0200 @@ -92,7 +92,7 @@ # is not defined, we use MTIME as publication time (which is usually in the past). self._publish_entry(self.entries[0], ptime=2000) self._publish_entry(self.entries[1], ptime=1000) - time_in_future = utctimestamp(datetime(2999, 1, 1)) + time_in_future = utctimestamp(datetime(2029, 1, 1)) self._publish_entry(self.entries[2], ptime=time_in_future) # the blog is not empty exclude_data_tokens = [self.NO_ENTRIES_MSG, ]
