File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -585,7 +585,9 @@ def __init__(
585
585
or security_group_ids is not None
586
586
and subnets is None
587
587
):
588
- raise RuntimeError ("When setting up custom VPC, both subnets and security_group_ids must be set" )
588
+ raise RuntimeError (
589
+ "When setting up custom VPC, both subnets and security_group_ids must be set"
590
+ )
589
591
590
592
if self .instance_type in ("local" , "local_gpu" ):
591
593
if self .instance_type == "local_gpu" and self .instance_count > 1 :
Original file line number Diff line number Diff line change @@ -512,7 +512,7 @@ def test_subnets_without_security_groups(sagemaker_session):
512
512
DummyFramework (
513
513
entry_point = SCRIPT_PATH ,
514
514
sagemaker_session = sagemaker_session ,
515
- subnets = [' 123' ],
515
+ subnets = [" 123" ],
516
516
)
517
517
518
518
@@ -521,7 +521,7 @@ def test_security_groups_without_subnets(sagemaker_session):
521
521
DummyFramework (
522
522
entry_point = SCRIPT_PATH ,
523
523
sagemaker_session = sagemaker_session ,
524
- security_group_ids = [' 123' ],
524
+ security_group_ids = [" 123" ],
525
525
)
526
526
527
527
You can’t perform that action at this time.
0 commit comments