Skip to content

Commit dd01bcb

Browse files
committed
remove skipif and update readme
1 parent 6be5cca commit dd01bcb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: README.md

+2
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ entry_point.run(uri=env.module_dir,
201201

202202
If the entry point execution fails, `trainer.train()` will write the error message to `/opt/ml/output/failure`. Otherwise, it will write to the file `/opt/ml/success`.
203203

204+
If `sagemaker_training` receives a `SIGTERM`, such as from `StopTrainingJob`, it will pass that signal to your script.
205+
204206
## :scroll: License
205207

206208
This library is licensed under the [Apache 2.0 License](http://aws.amazon.com/apache2.0/).

Diff for: test/unit/test_process.py

-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,6 @@ def _sleep_subprocess(capture_error):
192192
exit(42)
193193

194194

195-
@pytest.mark.skipif(sys.version_info != (3, 7), reason="requires python3.7")
196195
@pytest.mark.parametrize("capture_error", [True, False])
197196
def test_check_error_signal(capture_error):
198197
proc = multiprocessing.Process(target=_sleep_subprocess, args=(capture_error,))

0 commit comments

Comments
 (0)