Skip to content

Commit 0352acd

Browse files
fix black
1 parent 7fac7e2 commit 0352acd

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

tests/integ/test_horovod.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@ def test_hvd_gpu(
6464
Version(tensorflow_training_latest_version) >= Version("2.12")
6565
and kwargs["instance_type"] == "ml.p2.xlarge"
6666
):
67-
pytest.skip(
68-
"P2 instances have been deprecated for sagemaker jobs starting TensorFlow 2.12"
69-
)
67+
pytest.skip("P2 instances have been deprecated for sagemaker jobs starting TensorFlow 2.12")
7068

7169
_create_and_fit_estimator(
7270
sagemaker_session,

tests/integ/test_tf.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ def test_framework_processing_job_with_deps(
6161
Version(tensorflow_training_latest_version) >= Version("2.12")
6262
and kwargs["instance_type"] == "ml.p2.xlarge"
6363
):
64-
pytest.skip(
65-
"P2 instances have been deprecated for sagemaker jobs starting TensorFlow 2.12"
66-
)
64+
pytest.skip("P2 instances have been deprecated for sagemaker jobs starting TensorFlow 2.12")
6765

6866
with timeout.timeout(minutes=TRAINING_DEFAULT_TIMEOUT_MINUTES):
6967
code_path = os.path.join(DATA_DIR, "dummy_code_bundle_with_reqs")
@@ -200,9 +198,7 @@ def test_mwms_gpu(
200198
Version(tensorflow_training_latest_version) >= Version("2.12")
201199
and kwargs["instance_type"] == "ml.p2.xlarge"
202200
):
203-
pytest.skip(
204-
"P2 instances have been deprecated for sagemaker jobs starting TensorFlow 2.12"
205-
)
201+
pytest.skip("P2 instances have been deprecated for sagemaker jobs starting TensorFlow 2.12")
206202

207203
instance_count = 2
208204
estimator = TensorFlow(
@@ -264,9 +260,7 @@ def test_mnist_distributed_gpu(
264260
Version(tensorflow_training_latest_version) >= Version("2.12")
265261
and kwargs["instance_type"] == "ml.p2.xlarge"
266262
):
267-
pytest.skip(
268-
"P2 instances have been deprecated for sagemaker jobs starting TensorFlow 2.12"
269-
)
263+
pytest.skip("P2 instances have been deprecated for sagemaker jobs starting TensorFlow 2.12")
270264

271265
_create_and_fit_estimator(
272266
sagemaker_session,

0 commit comments

Comments
 (0)