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 @@ -503,19 +503,19 @@ def test_train_with_distributed_config(
503
503
assert os .path .exists (expected_runner_json_path )
504
504
with open (expected_runner_json_path , "r" ) as f :
505
505
runner_json_content = f .read ()
506
- assert test_case ["distributed" ].model_dump (exclude_none = True ) == (
506
+ assert test_case ["distributed" ].model_dump () == (
507
507
json .loads (runner_json_content )
508
508
)
509
509
assert os .path .exists (expected_source_code_json_path )
510
510
with open (expected_source_code_json_path , "r" ) as f :
511
511
source_code_json_content = f .read ()
512
- assert test_case ["source_code" ].model_dump (exclude_none = True ) == (
512
+ assert test_case ["source_code" ].model_dump () == (
513
513
json .loads (source_code_json_content )
514
514
)
515
515
assert os .path .exists (expected_source_code_json_path )
516
516
with open (expected_source_code_json_path , "r" ) as f :
517
517
source_code_json_content = f .read ()
518
- assert test_case ["source_code" ].model_dump (exclude_none = True ) == (
518
+ assert test_case ["source_code" ].model_dump () == (
519
519
json .loads (source_code_json_content )
520
520
)
521
521
finally :
You can’t perform that action at this time.
0 commit comments