File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tests/unit/sagemaker/modules/train Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -504,19 +504,19 @@ def test_train_with_distributed_config(
504
504
assert os .path .exists (expected_runner_json_path )
505
505
with open (expected_runner_json_path , "r" ) as f :
506
506
runner_json_content = f .read ()
507
- assert test_case ["distributed" ].model_dump (exclude_none = True ) == (
507
+ assert test_case ["distributed" ].model_dump () == (
508
508
json .loads (runner_json_content )
509
509
)
510
510
assert os .path .exists (expected_source_code_json_path )
511
511
with open (expected_source_code_json_path , "r" ) as f :
512
512
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 () == (
514
514
json .loads (source_code_json_content )
515
515
)
516
516
assert os .path .exists (expected_source_code_json_path )
517
517
with open (expected_source_code_json_path , "r" ) as f :
518
518
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 () == (
520
520
json .loads (source_code_json_content )
521
521
)
522
522
finally :
You can’t perform that action at this time.
0 commit comments