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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user