diff options
author | Panagiotis Karalis <panos.pkaralis@gmail.com> | 2019-08-07 10:46:52 +0300 |
---|---|---|
committer | Dan Xu <xudan16@huawei.com> | 2019-09-16 06:45:00 +0000 |
commit | 005d868d68dbb0e70b3f92a685ea269c4f646fd7 (patch) | |
tree | dcb1f0f64606b58f0c33e9dc96131fdbe4ed6398 /dovetail/tests/unit/test_test_runner.py | |
parent | f0c44b1ae02ffbdb87da81dac7b6754c641d8c04 (diff) |
Move the proj to python3
The aim of this patch is to upgrade python version
of this project from python2 to python3.
Signed-off-by: Panagiotis Karalis <panos.pkaralis@gmail.com>
Change-Id: I3d3ef01176fda1b23a0542a24625be2f3368c40e
Diffstat (limited to 'dovetail/tests/unit/test_test_runner.py')
-rw-r--r-- | dovetail/tests/unit/test_test_runner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dovetail/tests/unit/test_test_runner.py b/dovetail/tests/unit/test_test_runner.py index 4bf97132..3cb27536 100644 --- a/dovetail/tests/unit/test_test_runner.py +++ b/dovetail/tests/unit/test_test_runner.py @@ -499,7 +499,7 @@ class TestRunnerTesting(unittest.TestCase): 'result_dir': 'three'}, result) - @patch('__builtin__.open') + @patch('builtins.open') @patch('dovetail.test_runner.json') @patch('dovetail.test_runner.dt_cfg') @patch('dovetail.test_runner.dt_utils') @@ -544,7 +544,7 @@ class TestRunnerTesting(unittest.TestCase): 'pass': 'FAIL'}) file_obj.write.assert_called_once_with(dump_obj) - @patch('__builtin__.open') + @patch('builtins.open') @patch('dovetail.test_runner.dt_cfg') @patch('dovetail.test_runner.dt_utils') @patch('dovetail.test_runner.os.path') |