Skip to content

Commit f762f7b

Browse files
committed
Mod: removed useless code line
1 parent 6af8cd4 commit f762f7b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/integrations/spark/test_spark.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ def sentry_init_with_reset(sentry_init):
3030
@pytest.fixture(scope="function")
3131
def create_spark_context():
3232
yield lambda: SparkContext(appName="Testing123")
33-
if SparkContext._active_spark_context:
34-
SparkContext._active_spark_context.stop()
33+
SparkContext._active_spark_context.stop()
3534

3635

3736
def test_set_app_properties(create_spark_context):

0 commit comments

Comments
 (0)