[ 
https://issues.apache.org/jira/browse/ARROW-1879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16276836#comment-16276836
 ] 

ASF GitHub Bot commented on ARROW-1879:
---------------------------------------

wesm closed pull request #1384: ARROW-1879: [Python] Dask integration tests are 
not skipped if dask is not installed
URL: https://github.com/apache/arrow/pull/1384
 
 
   

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/testing/dask_tests/test_dask_integration.py 
b/python/testing/dask_tests/test_dask_integration.py
index e67834878..842c45f57 100644
--- a/python/testing/dask_tests/test_dask_integration.py
+++ b/python/testing/dask_tests/test_dask_integration.py
@@ -14,12 +14,18 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
+
+import pytest
+
 from datetime import date, timedelta
 import csv
 from random import randint
-import dask.dataframe as dd
+
 import pyarrow as pa
 
+dd = pytest.importorskip('dask.dataframe')
+
+
 def make_datafiles(tmpdir, prefix='data', num_files=20):
     rowcount = 5000
     fieldnames = ['date', 'temperature', 'dewpoint']
@@ -37,6 +43,7 @@ def make_datafiles(tmpdir, prefix='data', num_files=20):
                                  'dewpoint': dewpoint})
                 the_date += timedelta(days=1)
 
+
 def test_dask_file_read(tmpdir):
     prefix = 'data'
     make_datafiles(tmpdir, prefix)


 

----------------------------------------------------------------
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] Dask integration tests are not skipped if dask is not installed
> ------------------------------------------------------------------------
>
>                 Key: ARROW-1879
>                 URL: https://issues.apache.org/jira/browse/ARROW-1879
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 0.7.1
>            Reporter: Phillip Cloud
>            Assignee: Phillip Cloud
>              Labels: pull-request-available
>             Fix For: 0.8.0
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to