GitHub user ueshin opened a pull request:

    https://github.com/apache/spark/pull/20538

    [SPARK-23319][TESTS][FOLLOWUP] Fix a test for Python 3 without pandas.

    ## What changes were proposed in this pull request?
    
    This is a followup pr of #20487.
    
    When importing module but it doesn't exists, the error message is slightly 
different between Python 2 and 3.
    
    E.g., in Python 2:
    
    ```
    No module named pandas
    ```
    
    in Python 3:
    
    ```
    No module named 'pandas'
    ```
    
    So, one test to check an import error fails in Python 3 without pandas.
    
    This pr fixes it.
    
    ## How was this patch tested?
    
    Tested manually in my local environment.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ueshin/apache-spark issues/SPARK-23319/fup1

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/20538.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #20538
    
----
commit b716f2c3b982b1bbff5cb910dc91accb80247365
Author: Takuya UESHIN <ueshin@...>
Date:   2018-02-08T01:29:39Z

    Fix a test for Python 3 without pandas.

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to