Skip to content

Commit 74aaa6f

Browse files
committed
Review fix
1 parent 65f523b commit 74aaa6f

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

dev/sparktestsupport/modules.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,6 @@ def __hash__(self):
178178
],
179179
sbt_test_goals=[
180180
"avro/test",
181-
],
182-
python_test_goals=[
183-
# doctests
184-
"pyspark.sql.avro.functions"
185181
]
186182
)
187183

python/pyspark/sql/avro/functions.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,7 @@ def _test():
122122
.appName("sql.avro.functions tests")\
123123
.getOrCreate()
124124
sc = spark.sparkContext
125-
globs['sc'] = sc
126125
globs['spark'] = spark
127-
globs['df'] = spark.createDataFrame([Row(name='Alice', age=2), Row(name='Bob', age=5)])
128126
(failure_count, test_count) = doctest.testmod(
129127
pyspark.sql.avro.functions, globs=globs,
130128
optionflags=doctest.ELLIPSIS | doctest.NORMALIZE_WHITESPACE)

0 commit comments

Comments
 (0)