Use Python 3 as interpreter in test

test_failing_async_process_handle_error_once() is calling
the python 2 interpreter. Let's make it use python3 instead.

Change-Id: I1f2f13685306f6b08b654a827a6477dc0aea942f
This commit is contained in:
Thomas Goirand
2020-02-06 15:15:37 +01:00
parent f73f39f2cf
commit c37781342e

View File

@@ -319,7 +319,7 @@ class TestFailingAsyncProcess(base.BaseTestCase):
def setUp(self):
super(TestFailingAsyncProcess, self).setUp()
path = self.get_temp_file_path('async.tmp', self.get_new_temp_dir())
self.process = async_process.AsyncProcess(['python',
self.process = async_process.AsyncProcess(['python3',
failing_process.__file__,
path],
respawn_interval=0)