You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/01/21 15:06:01 UTC
[jira] [Created] (SPARK-26676) Make
HiveContextSQLTests.test_unbounded_frames test compatible with Python 2 and
PyPy
Hyukjin Kwon created SPARK-26676:
------------------------------------
Summary: 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
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