Skip to content

Commit

Permalink
Merge pull request #10 from Ackuq/testing-improvements
Browse files Browse the repository at this point in the history
Gracefully stop Spark in tests
  • Loading branch information
Ackuq authored Feb 16, 2022
2 parents 6384412 + d182338 commit aade14c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def setUp(self) -> None:
self.pit_context = PitContext(self.sql_context)

def tearDown(self) -> None:
return super().tearDown()
self.spark.stop()

def _assertFieldsEqual(self, a: StructField, b: StructField):
self.assertEqual(a.name.lower(), b.name.lower())
Expand Down

0 comments on commit aade14c

Please sign in to comment.