Fix old-division
This commit is contained in:
parent
95861b28d5
commit
c6d1f832da
@ -41,7 +41,7 @@ Bug fixes:
|
||||
[jensens]
|
||||
|
||||
- More Python 2 / 3 compatibility.
|
||||
[pbauer]
|
||||
[pbauer, hvelarde]
|
||||
|
||||
|
||||
3.0.5 (2018-02-04)
|
||||
|
@ -54,7 +54,7 @@ class CommentTest(unittest.TestCase):
|
||||
difference = difference.seconds
|
||||
# We hope that between comment1 and local_utc happen less than
|
||||
# 10 seconds
|
||||
self.assertFalse(difference / 10)
|
||||
self.assertFalse(difference // 10)
|
||||
|
||||
def test_id(self):
|
||||
comment1 = createObject('plone.Comment')
|
||||
|
Loading…
Reference in New Issue
Block a user