Skip to content

Commit dc89892

Browse files
author
Jonathan Esterhazy
committed
tidy up imports
1 parent 80c4e92 commit dc89892

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

src/sagemaker/cli/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
import sagemaker.cli.mxnet
22
import sagemaker.cli.tensorflow
3-
4-
__all__ = [mxnet, tensorflow]

src/sagemaker/cli/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@ def start(self):
9797
estimator.fit(data_url)
9898
logger.debug('code location: {}'.format(estimator.uploaded_code.s3_prefix))
9999
logger.debug('model location: {}{}/output/model.tar.gz'.format(estimator.output_path,
100-
estimator._current_job_name))
100+
estimator._current_job_name))

tests/unit/test_cli.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import pytest
2-
from mock import Mock, MagicMock, patch
3-
42
import sagemaker.cli.main as cli
3+
from mock import patch
54

65
COMMON_ARGS = '--data mydata --script myscript --job-name myjob --bucket-name mybucket --role-name myrole ' + \
76
'--python py3 --instance-type myinstance --instance-count 2'

0 commit comments

Comments
 (0)