Skip to content

Commit 5980e23

Browse files
committed
format
1 parent ba8407a commit 5980e23

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

tests/unit/sagemaker/modules/train/test_model_trainer.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -503,21 +503,15 @@ def test_train_with_distributed_config(
503503
assert os.path.exists(expected_runner_json_path)
504504
with open(expected_runner_json_path, "r") as f:
505505
runner_json_content = f.read()
506-
assert test_case["distributed"].model_dump() == (
507-
json.loads(runner_json_content)
508-
)
506+
assert test_case["distributed"].model_dump() == (json.loads(runner_json_content))
509507
assert os.path.exists(expected_source_code_json_path)
510508
with open(expected_source_code_json_path, "r") as f:
511509
source_code_json_content = f.read()
512-
assert test_case["source_code"].model_dump() == (
513-
json.loads(source_code_json_content)
514-
)
510+
assert test_case["source_code"].model_dump() == (json.loads(source_code_json_content))
515511
assert os.path.exists(expected_source_code_json_path)
516512
with open(expected_source_code_json_path, "r") as f:
517513
source_code_json_content = f.read()
518-
assert test_case["source_code"].model_dump() == (
519-
json.loads(source_code_json_content)
520-
)
514+
assert test_case["source_code"].model_dump() == (json.loads(source_code_json_content))
521515
finally:
522516
shutil.rmtree(tmp_dir.name)
523517
assert not os.path.exists(tmp_dir.name)

0 commit comments

Comments
 (0)