Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-wang-dl committed Jun 11, 2024
1 parent 166099d commit bceb7b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/test_spark.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
from sklearn import svm

from pyspark.sql import SparkSession
import pyspark

register_spark()

Expand Down Expand Up @@ -116,6 +117,8 @@ def test_fn(x):
assert len(os.listdir(tmp_dir)) == 0


@unittest.skipIf(Version(pyspark.__version__).release < (3, 4, 0),
"Resource group is only supported since spark 3.4.0")
class TestGPUSparkCluster(unittest.TestCase):
@classmethod
def setup_class(cls):
Expand Down

0 comments on commit bceb7b5

Please sign in to comment.