projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
21356: Remove all Python 2/3 compatibility imports
[arvados.git]
/
sdk
/
python
/
tests
/
performance
/
test_a_sample.py
diff --git
a/sdk/python/tests/performance/test_a_sample.py
b/sdk/python/tests/performance/test_a_sample.py
index dff098403dfffbba967b63c67702e7d27251c507..9e54b1f5d2a296e2bb44e7b6082f79ca0b5e0f55 100644
(file)
--- a/
sdk/python/tests/performance/test_a_sample.py
+++ b/
sdk/python/tests/performance/test_a_sample.py
@@
-1,6
+1,10
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
+
import unittest
import unittest
-from performance_profiler import profiled
+from
.
performance_profiler import profiled
class PerformanceTestSample(unittest.TestCase):
def foo(self):
class PerformanceTestSample(unittest.TestCase):
def foo(self):
@@
-12,4
+16,4
@@
class PerformanceTestSample(unittest.TestCase):
for i in range(0,2**20):
j += i
self.foo()
for i in range(0,2**20):
j += i
self.foo()
- print
'Hello'
+ print
('Hello')