Skip to content

Commit b3ae566

Browse files
committed
fix: update test to account for changes
1 parent 6a6c541 commit b3ae566

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -504,19 +504,19 @@ 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(exclude_none=True) == (
507+
assert test_case["distributed"].model_dump() == (
508508
json.loads(runner_json_content)
509509
)
510510
assert os.path.exists(expected_source_code_json_path)
511511
with open(expected_source_code_json_path, "r") as f:
512512
source_code_json_content = f.read()
513-
assert test_case["source_code"].model_dump(exclude_none=True) == (
513+
assert test_case["source_code"].model_dump() == (
514514
json.loads(source_code_json_content)
515515
)
516516
assert os.path.exists(expected_source_code_json_path)
517517
with open(expected_source_code_json_path, "r") as f:
518518
source_code_json_content = f.read()
519-
assert test_case["source_code"].model_dump(exclude_none=True) == (
519+
assert test_case["source_code"].model_dump() == (
520520
json.loads(source_code_json_content)
521521
)
522522
finally:

0 commit comments

Comments
 (0)