Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit c3b0c56

Browse files
committed
Try to fix linting test errors
1 parent 7387dc5 commit c3b0c56

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

test/integration/sagemaker/test_tfs.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,8 @@ def test_resnet_with_inference_handler(
177177
boto_session, image_uri, instance_type, resnet_model_tar_path, framework_version
178178
):
179179
if Version(framework_version) >= Version("2.6"):
180-
pytest.skip(
181-
"The inference script based test currently uses v1 compat features, making it incompatible with TF>=2.6"
182-
)
180+
pytest.skip("The inference script currently uses v1 compat features, making it incompatible with TF>=2.6")
181+
183182
sagemaker_session = sagemaker.Session(boto_session=boto_session)
184183
model_data = sagemaker_session.upload_data(
185184
path=resnet_model_tar_path, key_prefix=os.path.join("tensorflow-inference", "resnet")

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[tox]
77
skipsdist = True
88
skip_missing_interpreters = False
9-
envlist = jshint,flake8,pylint,py36,py37
9+
envlist = jshint,flake8,pylint,py36
1010

1111
[flake8]
1212
max-line-length = 100

0 commit comments

Comments
 (0)