Commit 830b6bd4 authored by Gary Poster's avatar Gary Poster

Try to fix these tests for what appears to be a bug that only occurs when system is in GMT.

parent d98edc1a
...@@ -107,10 +107,10 @@ class DI_Tests(unittest.TestCase): ...@@ -107,10 +107,10 @@ class DI_Tests(unittest.TestCase):
(5, Dummy('e', DateTime('2062-05-08 15:16:17'))), # 1018883325 (5, Dummy('e', DateTime('2062-05-08 15:16:17'))), # 1018883325
(6, Dummy('f', 1072742620.0)), # 1073545923 (6, Dummy('f', 1072742620.0)), # 1073545923
(7, Dummy('f', 1072742900)), # 1073545928 (7, Dummy('f', 1072742900)), # 1073545928
(8, Dummy('g', date(2034,2,5))), # 1073599200 (8, Dummy('g', date(2034,2,5))), # 1073599200
(9, Dummy('h', datetime(2034,2,5,15,17,5))), # (1073600117UTC) (9, Dummy('h', datetime(2034,2,5,15,20,5))), # (varies)
(10, Dummy('i', datetime(2034,2,5,10,17,5, (10, Dummy('i', datetime(2034,2,5,10,17,5,
tzinfo=Eastern))), # 1073600117 tzinfo=Eastern))), # 1073600117
) )
self._index = DateIndex('date') self._index = DateIndex('date')
self._noop_req = {'bar': 123} self._noop_req = {'bar': 123}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment