You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by we...@apache.org on 2018/01/30 16:43:01 UTC

[arrow] branch master updated: ARROW-2047: [Python] Use sys.executable instead of one in the search path.

This is an automated email from the ASF dual-hosted git repository.

wesm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 8d78376  ARROW-2047: [Python] Use sys.executable instead of one in the search path.
8d78376 is described below

commit 8d78376979965a203207899084820631394de017
Author: moriyoshi <mo...@mozo.jp>
AuthorDate: Tue Jan 30 11:42:57 2018 -0500

    ARROW-2047: [Python] Use sys.executable instead of one in the search path.
    
    * It currently relies on the behavior of `subprocess.check_call()` that searches for the executable in the search path. Because of it, the test run needs a valid search path setup.
    
    Author: moriyoshi <mo...@mozo.jp>
    
    Closes #1525 from moriyoshi/moriyoshi/use-sys-executable and squashes the following commits:
    
    f4c92227 [moriyoshi] Use sys.executable instead of one in path
---
 python/pyarrow/tests/test_serialization.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/pyarrow/tests/test_serialization.py b/python/pyarrow/tests/test_serialization.py
index e4681e3..9cad81f 100644
--- a/python/pyarrow/tests/test_serialization.py
+++ b/python/pyarrow/tests/test_serialization.py
@@ -554,7 +554,7 @@ def test_deserialize_buffer_in_different_process():
 
     dir_path = os.path.dirname(os.path.realpath(__file__))
     python_file = os.path.join(dir_path, 'deserialize_buffer.py')
-    subprocess.check_call(['python', python_file, f.name])
+    subprocess.check_call([sys.executable, python_file, f.name])
 
 
 def test_set_pickle():

-- 
To stop receiving notification emails like this one, please contact
wesm@apache.org.