You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
; Confine default collection to the test suite. Without this, a bare `pytest`
; walks the whole repo, and a git worktree checked out under the repo root
; (e.g. a PR review checkout) contributes a second tests/conftest.py that
; collides with this one -- pytest aborts with ImportPathMismatchError.
testpaths = tests
addopts = -m "not spark_connect"
markers =
pyspark: needs pyspark installed
spark_connect: needs a Spark Connect session and its own pytest process, because starting a local Connect server sets SPARK_LOCAL_REMOTE, after which every later SparkSession.builder.getOrCreate() in the process returns the Connect session. Run with: pytest -m spark_connect tests/test_spark_connect.py