GitHub user laserson opened a pull request:
https://github.com/apache/spark/pull/1042
SPARK-2101: import unittest2 when using Python 2.6
The PySpark tests depend on `unittest.skipIf`, which was only added in
Python 2.7. This should remedy the build failures on Python 2.6. The only
remaining piece is that it may be necessary to install `unittest2` with Python
2.6, if it's not provided automatically.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/laserson/spark SPARK-2101
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/1042.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 #1042
----
commit e46364f18be8e03e3822acff6413d8e19fa602b6
Author: Uri Laserson <[email protected]>
Date: 2014-06-10T22:10:52Z
SPARK-2101: import unittest2 when using Python 2.6
The PySpark tests depend on `unittest.skipIf`, which was only added in
Python 2.7. This should remedy the build failures on Python 2.6. The only
remaining piece is that it may be necessary to install `unittest2` with Python
2.6, if it's not provided automatically.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---