Skip to content
Closed
Prev Previous commit
Next Next commit
Fix errors
  • Loading branch information
HyukjinKwon committed Apr 3, 2024
commit b85f7d3bcdced0b76f8833fbc1938c97ebdf9914
2 changes: 1 addition & 1 deletion dev/run-pip-tests
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ for python in "${PYTHON_EXECS[@]}"; do
echo "Run basic sanity check with import based"
python3 "$FWDIR"/dev/pip-sanity-check.py
echo "Run the tests for context.py"
python3 "$FWDIR"/python/pyspark/context.py
python3 "$FWDIR"/python/pyspark/core/context.py

cd "$FWDIR"

Expand Down
4 changes: 2 additions & 2 deletions python/pyspark/sql/readwriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ def csv(

has_core = True
try:
import pyspark.core # noqa: F401
from pyspark.core.rdd import RDD # noqa: F401
except ImportError:
has_core = False

Expand Down Expand Up @@ -968,7 +968,7 @@ def xml(

has_core = True
try:
import pyspark.core # noqa: F401
from pyspark.core.rdd import RDD # noqa: F401
except ImportError:
has_core = False

Expand Down