Skip to content

Commit d88db28

Browse files
sfc-gh-dyadavHyukjinKwon
authored andcommitted
[MINOR][TESTS][CONNECT] Fix the teardown function of test_connect_function.py
### What changes were proposed in this pull request? It is a small fix to a typo in teardown function of a test where instead of calling teardown of the parent object we are calling setup. ### Why are the changes needed? This typo needs to be fixed ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? This is already covered by the changed test. ### Was this patch authored or co-authored using generative AI tooling? No Closes apache#50120 from sfc-gh-dyadav/patch-1. Authored-by: Deepak Yadav <[email protected]> Signed-off-by: Hyukjin Kwon <[email protected]>
1 parent a33f232 commit d88db28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyspark/sql/tests/connect/test_connect_function.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def setUpClass(cls):
6161
@classmethod
6262
def tearDownClass(cls):
6363
cls.spark = cls.connect # Stopping Spark Connect closes the session in JVM at the server.
64-
super(SparkConnectFunctionTests, cls).setUpClass()
64+
super(SparkConnectFunctionTests, cls).tearDownClass()
6565
del os.environ["PYSPARK_NO_NAMESPACE_SHARE"]
6666

6767
def compare_by_show(self, df1, df2, n: int = 20, truncate: int = 20):

0 commit comments

Comments
 (0)