X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0561bd0c3c07257fd58ded6c7cfa5feeae97af57..fe8a7a83e41dbc236621d5cd90128b0cf6721203:/services/fuse/tests/prof.py diff --git a/services/fuse/tests/prof.py b/services/fuse/tests/prof.py index 021839c5b4..f9ce1881de 100644 --- a/services/fuse/tests/prof.py +++ b/services/fuse/tests/prof.py @@ -2,6 +2,8 @@ # # SPDX-License-Identifier: AGPL-3.0 +from __future__ import print_function +from builtins import object import time class CountTime(object): @@ -17,5 +19,5 @@ class CountTime(object): sec = (time.time() - self.start) th = "" if self.size: - th = "throughput %s/sec" % (self.size / sec) - print "%s time %s micoseconds %s" % (self.tag, sec*1000000, th) + th = "throughput %s/sec" % (self.size // sec) + print("%s time %s micoseconds %s" % (self.tag, sec*1000000, th))