X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2d4198a095e193102daa2710c6b2baba7be7c9ce..a5b7b00aff9debab6607afb09b387de627bc2603:/services/fuse/tests/prof.py diff --git a/services/fuse/tests/prof.py b/services/fuse/tests/prof.py index 49b9f24be9..f9ce1881de 100644 --- a/services/fuse/tests/prof.py +++ b/services/fuse/tests/prof.py @@ -1,3 +1,9 @@ +# 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): @@ -13,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))