[
https://issues.apache.org/jira/browse/ARROW-2284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16392989#comment-16392989
]
ASF GitHub Bot commented on ARROW-2284:
---------------------------------------
wesm closed pull request #1724: ARROW-2284: [Python] Fix error display on
test_plasma error
URL: https://github.com/apache/arrow/pull/1724
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/python/pyarrow/tests/test_plasma.py
b/python/pyarrow/tests/test_plasma.py
index b4e864941..1df213dec 100644
--- a/python/pyarrow/tests/test_plasma.py
+++ b/python/pyarrow/tests/test_plasma.py
@@ -165,10 +165,8 @@ def
start_plasma_store(plasma_store_memory=DEFAULT_PLASMA_STORE_MEMORY,
time.sleep(0.1)
rc = proc.poll()
if rc is not None:
- err = proc.stderr.read().decode()
raise RuntimeError("plasma_store exited unexpectedly with "
- "code %d. Error output follows:\n%s\n"
- % (rc, err))
+ "code %d" % (rc,))
yield plasma_store_name, proc
finally:
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> [Python] test_plasma error on plasma_store error
> ------------------------------------------------
>
> Key: ARROW-2284
> URL: https://issues.apache.org/jira/browse/ARROW-2284
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Reporter: Antoine Pitrou
> Assignee: Antoine Pitrou
> Priority: Trivial
> Labels: pull-request-available
> Fix For: 0.9.0
>
>
> This appears caused by my latest changes:
> {code:python}
> Traceback (most recent call last):
> File "/home/antoine/arrow/python/pyarrow/tests/test_plasma.py", line 192,
> in setup_method
> plasma_store_name, self.p = self.plasma_store_ctx.__enter__()
> File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.6/contextlib.py",
> line 81, in __enter__
> return next(self.gen)
> File "/home/antoine/arrow/python/pyarrow/tests/test_plasma.py", line 168,
> in start_plasma_store
> err = proc.stderr.read().decode()
> AttributeError: 'NoneType' object has no attribute 'read'
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)