File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ CHANGELOG
8
8
* bug-fix: Unit Tests: Improve unit test runtime
9
9
* bug-fix: Estimators: Fix attach for LDA
10
10
* bug-fix: Estimators: allow code_location to have no key prefix
11
+ * bug-fix: Local Mode: Fix s3 training data download when there is a trailing slash
12
+
11
13
12
14
1.4.1
13
15
=====
Original file line number Diff line number Diff line change @@ -368,6 +368,7 @@ def test_download_folder(makedirs):
368
368
obj_mock .download_file .assert_has_calls (calls )
369
369
obj_mock .reset_mock ()
370
370
371
+ # Testing with a trailing slash for the prefix.
371
372
sagemaker_container ._download_folder (BUCKET_NAME , '/prefix/' , '/tmp' )
372
373
obj_mock .download_file .assert_called ()
373
374
calls = [call (os .path .join ('/tmp' , 'train/train_data.csv' )),
You can’t perform that action at this time.
0 commit comments