You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2019/01/21 15:13:00 UTC

[jira] [Assigned] (SPARK-26676) Make HiveContextSQLTests.test_unbounded_frames test compatible with Python 2 and PyPy

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

Apache Spark reassigned SPARK-26676:
------------------------------------

    Assignee:     (was: Apache Spark)

> 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
>            Priority: Major
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org