From c4f664bd49f701773ea52751ee135915af973014 Mon Sep 17 00:00:00 2001 From: William Sheu Date: Fri, 20 Jul 2018 15:26:17 -0700 Subject: [PATCH] Fix typo in pyspark sql tests --- python/pyspark/sql/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyspark/sql/tests.py b/python/pyspark/sql/tests.py index 565654e7f03b..2d6b9f01e652 100644 --- a/python/pyspark/sql/tests.py +++ b/python/pyspark/sql/tests.py @@ -3595,7 +3595,7 @@ def tearDown(self): SparkSession._instantiatedSession.stop() if SparkContext._active_spark_context is not None: - SparkContext._active_spark_contex.stop() + SparkContext._active_spark_context.stop() def test_udf_init_shouldnt_initalize_context(self): from pyspark.sql.functions import UserDefinedFunction