some py3 fixes

This commit is contained in:
Philip Bauer
2018-03-18 17:01:27 +01:00
parent ae71eab164
commit 71dcbf8465
4 changed files with 5 additions and 6 deletions
@@ -727,7 +727,7 @@ class TestCommentsViewlet(unittest.TestCase):
)
def test_format_time(self):
python_time = datetime(2009, 02, 01, 23, 32, 03, 57)
python_time = datetime(2009, 2, 1, 23, 32, 3, 57)
# Python Time must be utc time. There seems to be no too simple way
# to tell datetime to be of utc time.
# therefor, we convert the time to seconds since epoch, which seems