fix dev test
@@ -33,7 +33,7 @@ class RevisionListTest(unittest.TestCase):
self.assertEqual(loaded.latest_revision().revision, "rev2")
def test_compatibility_with_timestamps(self):
- the_time = floor(time.time())
+ the_time = float(floor(time.time()))
iso = from_timestamp_to_iso8601(the_time)
old_contents = '{"revisions": [{"revision": "rev1", "time": %s}, ' \
'{"revision": "rev2", "time": "%s"}]}' % (the_time, the_time)
