Skip to content
Closed
Prev Previous commit
Next Next commit
pylint
  • Loading branch information
wbo4958 committed Mar 8, 2024
commit ba5c25a3e02e90affd50f6835f3a1b896bab7f79
5 changes: 3 additions & 2 deletions python/pyspark/resource/tests/test_connect_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,10 @@ def assert_request_contents(exec_reqs, task_reqs):

with self.assertRaisesRegex(
Exception,
"ResourceProfiles are only supported on YARN and Kubernetes and Standalone with dynamic allocation enabled.",
"ResourceProfiles are only supported on YARN and Kubernetes and "
"Standalone with dynamic allocation enabled.",
):
df.mapInArrow(lambda x: x, df.schema, False, rp).collect()
rp.id

spark.stop()

Expand Down