[ 
https://issues.apache.org/jira/browse/SPARK-26676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Cutler resolved SPARK-26676.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

Issue resolved by pull request 23604
[https://github.com/apache/spark/pull/23604]

> Make HiveContextSQLTests.test_unbounded_frames test compatible with Python 2 
> and PyPy
> -------------------------------------------------------------------------------------
>
>                 Key: SPARK-26676
>                 URL: https://issues.apache.org/jira/browse/SPARK-26676
>             Project: Spark
>          Issue Type: Test
>          Components: PySpark
>    Affects Versions: 3.0.0
>            Reporter: Hyukjin Kwon
>            Assignee: Hyukjin Kwon
>            Priority: Major
>             Fix For: 3.0.0
>
>
> This particular test is being skipped at PyPy and Python 2.
> {code}
> Skipped tests in pyspark.sql.tests.test_context with pypy:
>     test_unbounded_frames 
> (pyspark.sql.tests.test_context.HiveContextSQLTests) ... skipped "Unittest < 
> 3.3 doesn't support mocking"
> Skipped tests in pyspark.sql.tests.test_context with python2.7:
>     test_unbounded_frames 
> (pyspark.sql.tests.test_context.HiveContextSQLTests) ... skipped "Unittest < 
> 3.3 doesn't support mocking"
> {code}
> We don't have to use unittest 3.3 module to mock. And looks the test itself 
> isn't compatible with Python 2. We should fix it



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to