Commits

Thomas Waldmann  committed 21c6092

tests: fix a unintended y2k106+ issue on platforms with 32bit time_t

  • Participants
  • Parent commits cb15246

Comments (0)

Files changed (1)

File MoinMoin/items/_tests/test_Blog.py

         # 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, ]