Skip to content

Commit 7f1b6fb

Browse files
authored
Update test_dataset.py
1 parent 5217698 commit 7f1b6fb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/_core/test_dataset.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,8 @@ def test_wrong_type(spark: SparkSession):
7878

7979

8080
def test_inherrited_functions(spark: SparkSession):
81-
test_df = spark.range(1)
82-
assert hasattr(test_df, "_jdf")
8381
df = create_empty_dataset(spark, A)
84-
82+
assert hasattr(df, "_jdf")
8583
df.distinct()
8684
cached1: DataSet[A] = df.cache()
8785
cached2: DataSet[A] = df.persist(StorageLevel.MEMORY_AND_DISK)

0 commit comments

Comments
 (0)