Skip to content

Commit b6af7e5

Browse files
committed
update failing test.
1 parent 3100d2a commit b6af7e5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/unit/entity/test_user.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# :coding: utf-8
22
# :copyright: Copyright (c) 2016 ftrack
33

4-
from past.builtins import long
5-
64

75
def test_force_start_timer(new_user, task):
86
"""Successfully force starting a timer when another timer is running."""
@@ -31,7 +29,7 @@ def test_timer_creates_timelog(new_user, task, unique_name):
3129
assert timelog["name"] == unique_name
3230
assert timelog["comment"] == comment
3331
assert timelog["start"] == timer_start
34-
assert isinstance(timelog["duration"], (int, long, float))
32+
assert isinstance(timelog["duration"], (int, float))
3533
assert timelog["duration"] < 60
3634

3735

0 commit comments

Comments
 (0)