Skip to content

Commit d596f11

Browse files
avoid use of os.path.join for s3 paths
Co-authored-by: Eric Johnson <[email protected]>
1 parent d05ee41 commit d596f11

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/integ/test_workflow.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -423,10 +423,7 @@ def test_training_job_with_debugger(
423423
Rule.sagemaker(rule_configs.loss_not_decreasing()),
424424
]
425425
debugger_hook_config = DebuggerHookConfig(
426-
s3_output_path=os.path.join(
427-
"s3://", sagemaker_session.default_bucket(), str(uuid.uuid4()), "tensors"
428-
)
429-
)
426+
s3_output_path=f"s3://{sagemaker_session.default_bucket()}/{uuid.uuid4()}/tensors"
430427

431428
base_dir = os.path.join(DATA_DIR, "pytorch_mnist")
432429
script_path = os.path.join(base_dir, "mnist.py")

0 commit comments

Comments
 (0)