Skip to content

Commit a62e862

Browse files
committed
format
1 parent b3ae566 commit a62e862

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
@@ -504,21 +504,15 @@ def test_train_with_distributed_config(
504504
assert os.path.exists(expected_runner_json_path)
505505
with open(expected_runner_json_path, "r") as f:
506506
runner_json_content = f.read()
507-
assert test_case["distributed"].model_dump() == (
508-
json.loads(runner_json_content)
509-
)
507+
assert test_case["distributed"].model_dump() == (json.loads(runner_json_content))
510508
assert os.path.exists(expected_source_code_json_path)
511509
with open(expected_source_code_json_path, "r") as f:
512510
source_code_json_content = f.read()
513-
assert test_case["source_code"].model_dump() == (
514-
json.loads(source_code_json_content)
515-
)
511+
assert test_case["source_code"].model_dump() == (json.loads(source_code_json_content))
516512
assert os.path.exists(expected_source_code_json_path)
517513
with open(expected_source_code_json_path, "r") as f:
518514
source_code_json_content = f.read()
519-
assert test_case["source_code"].model_dump() == (
520-
json.loads(source_code_json_content)
521-
)
515+
assert test_case["source_code"].model_dump() == (json.loads(source_code_json_content))
522516
finally:
523517
shutil.rmtree(tmp_dir.name)
524518
assert not os.path.exists(tmp_dir.name)

0 commit comments

Comments
 (0)