Skip to content

Commit 537b462

Browse files
committed
fix codestyle 2
1 parent c77a842 commit 537b462

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

tests/integ/sagemaker/experiments/test_run.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,7 @@ def verify_load_run():
8686
retry_with_backoff(verify_load_run, 4)
8787

8888

89-
def test_two_local_run_init_with_same_run_name_and_different_exp_names(
90-
sagemaker_session
91-
):
89+
def test_two_local_run_init_with_same_run_name_and_different_exp_names(sagemaker_session):
9290
exp_name1 = f"my-two-local-exp1-{name()}"
9391
exp_name2 = f"my-two-local-exp2-{name()}"
9492
run_name = "test-run"
@@ -126,9 +124,7 @@ def test_two_local_run_init_with_same_run_name_and_different_exp_names(
126124
("my-test4", "test-run", "run-display-name-test"), # with supplied display name
127125
],
128126
)
129-
def test_run_name_vs_trial_component_name_edge_cases(
130-
sagemaker_session, input_names
131-
):
127+
def test_run_name_vs_trial_component_name_edge_cases(sagemaker_session, input_names):
132128
exp_name, run_name, run_display_name = input_names
133129
with cleanup_exp_resources(exp_names=[exp_name], sagemaker_session=sagemaker_session):
134130
with Run(

tests/integ/test_feature_store.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1646,8 +1646,8 @@ def test_create_dataset_with_feature_group_base(
16461646
)
16471647

16481648
with (
1649-
timeout(minutes=10)
1650-
and cleanup_offline_store(base, feature_store_session)
1649+
timeout(minutes=10)
1650+
and cleanup_offline_store(base, feature_store_session)
16511651
and cleanup_offline_store(feature_group, feature_store_session)
16521652
):
16531653
feature_store = FeatureStore(sagemaker_session=feature_store_session)
@@ -1835,8 +1835,8 @@ def test_create_dataset_with_feature_group_base_with_additional_params(
18351835
)
18361836

18371837
with (
1838-
timeout(minutes=10)
1839-
and cleanup_offline_store(base, feature_store_session)
1838+
timeout(minutes=10)
1839+
and cleanup_offline_store(base, feature_store_session)
18401840
and cleanup_offline_store(feature_group, feature_store_session)
18411841
):
18421842
feature_store = FeatureStore(sagemaker_session=feature_store_session)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ def mock_upload_data(path, bucket, key_prefix):
10611061
input_data_config=ANY,
10621062
hyper_parameters=hyperparameters,
10631063
environment=environment,
1064-
)
1064+
)
10651065

10661066

10671067
def test_safe_configs():

0 commit comments

Comments
 (0)