8784: Fix test for latest firefox.
[arvados.git] / sdk / python / tests / performance / test_a_sample.py
1 from __future__ import print_function
2 from __future__ import absolute_import
3 from builtins import range
4 import unittest
5
6 from .performance_profiler import profiled
7
8 class PerformanceTestSample(unittest.TestCase):
9     def foo(self):
10         bar = 64
11
12     @profiled
13     def test_profiled_decorator(self):
14         j = 0
15         for i in range(0,2**20):
16             j += i
17         self.foo()
18         print('Hello')