Fix old-division

This commit is contained in:
hvelarde 2018-06-14 15:14:02 -03:00 committed by Philip Bauer
parent 95861b28d5
commit c6d1f832da
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ Bug fixes:
[jensens] [jensens]
- More Python 2 / 3 compatibility. - More Python 2 / 3 compatibility.
[pbauer] [pbauer, hvelarde]
3.0.5 (2018-02-04) 3.0.5 (2018-02-04)

View File

@ -54,7 +54,7 @@ class CommentTest(unittest.TestCase):
difference = difference.seconds difference = difference.seconds
# We hope that between comment1 and local_utc happen less than # We hope that between comment1 and local_utc happen less than
# 10 seconds # 10 seconds
self.assertFalse(difference / 10) self.assertFalse(difference // 10)
def test_id(self): def test_id(self):
comment1 = createObject('plone.Comment') comment1 = createObject('plone.Comment')