X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/84485330ff92a496763d1e471f8ed666e6da0a4f..ffc46b6c2fecf585f80c5e4513a088ad21a2185b:/services/fuse/tests/prof.py diff --git a/services/fuse/tests/prof.py b/services/fuse/tests/prof.py index 6742799cc1..f9ce1881de 100644 --- a/services/fuse/tests/prof.py +++ b/services/fuse/tests/prof.py @@ -1,8 +1,9 @@ -from __future__ import print_function # Copyright (C) The Arvados Authors. All rights reserved. # # SPDX-License-Identifier: AGPL-3.0 +from __future__ import print_function +from builtins import object import time class CountTime(object): @@ -18,5 +19,5 @@ class CountTime(object): sec = (time.time() - self.start) th = "" if self.size: - th = "throughput %s/sec" % (self.size / sec) + th = "throughput %s/sec" % (self.size // sec) print("%s time %s micoseconds %s" % (self.tag, sec*1000000, th))