Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e6e7dd6

Browse files
author
Chuyang Deng
committedJun 16, 2020
resolve flake8 errors
1 parent 22ad8a1 commit e6e7dd6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
from sagemaker.rl import RLEstimator
2929
from sagemaker.sklearn.defaults import SKLEARN_VERSION
3030
from sagemaker.tensorflow import TensorFlow
31-
from sagemaker.tensorflow.defaults import LATEST_VERSION, LATEST_SERVING_VERSION
31+
from sagemaker.tensorflow.defaults import LATEST_VERSION
3232

3333
DEFAULT_REGION = "us-west-2"
3434
CUSTOM_BUCKET_NAME_PREFIX = "sagemaker-custom-bucket"

‎tests/integ/test_tf_script_mode.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,11 @@ def test_mnist_async(sagemaker_session, cpu_instance_type, tf_full_version, py_v
163163
role=ROLE,
164164
train_instance_count=1,
165165
train_instance_type="ml.c5.4xlarge",
166-
py_version=tests.integ.PYTHON_VERSION,
166+
py_version=py_version,
167167
sagemaker_session=sagemaker_session,
168168
script_mode=True,
169169
# testing py-sdk functionality, no need to run against all TF versions
170-
framework_version=LATEST_SERVING_VERSION,
170+
framework_version=tf_full_version,
171171
tags=TAGS,
172172
)
173173
inputs = estimator.sagemaker_session.upload_data(

0 commit comments

Comments
 (0)
Please sign in to comment.