try to avoid testing if no pyspark present

cc @cpcloud what is the best way to skip doctests with pytest?