import pytest


@pytest.fixture(scope='session')
def sc():
    pyspark = pytest.importorskip('pyspark')
    return pyspark.SparkContext('local', 'into-test')

@@ -151,8 +151,120 @@
 -test')%0A
+%0A%0A@pytest.fixture(scope='session')%0Adef sqlctx(sc):%0A    return pytest.importorskip('pyspark.sql.SQLContext')(sc)%0A

Move sqlctx to conftest.py