Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
HyukjinKwon authored Apr 7, 2024
1 parent b709323 commit e7b9db5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions python/pyspark/sql/tests/test_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@ def test_list_tables(self):
spark.sql("CREATE DATABASE some_db")
with self.table("tab1", "some_db.tab2", "tab3_via_catalog"):
with self.tempView("temp_tab"):
# Make sure tables are all dropped.
for t in spark.catalog.listTables():
self.spark.sql("DROP TABLE IF EXISTS %s" % t.name)
self.assertEqual(spark.catalog.listTables(), [])
self.assertEqual(spark.catalog.listTables("some_db"), [])
spark.createDataFrame([(1, 1)]).createOrReplaceTempView("temp_tab")
Expand Down

0 comments on commit e7b9db5

Please sign in to comment.