Skip to content

Commit 8939000

Browse files
committed
Simplify skipIf condition
Co-authored-by: Isaac
1 parent 8cfbc95 commit 8939000

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyspark/sql/tests/streaming/test_streaming_kafka_rtm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def _is_docker_available():
113113

114114

115115
@unittest.skipIf(
116-
not (have_testcontainers and have_kafka),
116+
not have_testcontainers or not have_kafka,
117117
"Kafka test dependencies not available (testcontainers, kafka-python)",
118118
)
119119
class StreamingKafkaTests(StreamingKafkaTestsMixin, ReusedSQLTestCase):

0 commit comments

Comments
 (0)