View Mongoblog
```python | |
import findspark | |
findspark.init("/usr/local/Cellar/apache-spark/2.2.1/libexec/") | |
``` | |
```python | |
sc |
View Imaging-1.1.7_setup.patch
# Usage: | |
# wget http://effbot.org/downloads/Imaging-1.1.7.tar.gz | |
# tar -zxvf Imaging-1.1.7.tar.gz | |
# cd Imaging-1.1.7 | |
# patch -p1 -i ../patch | |
# # continue with installation | |
Only in Imaging-1.1.7-patched: build | |
Only in Imaging-1.1.7-patched: patch | |
diff -crB Imaging-1.1.7/setup.py Imaging-1.1.7-patched/setup.py |
View tests.py
from django.test import TestCase | |
from django.test.client import Client | |
import logging | |
logging.disable("debug") | |
class XMLWebserviceTest(TestCase): | |
c = Client() | |
def setUp(self): |