Skip to content

Commit

Permalink
remove skipif and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bstriner committed May 20, 2022
1 parent 6be5cca commit dd01bcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ entry_point.run(uri=env.module_dir,

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`.

If `sagemaker_training` receives a `SIGTERM`, such as from `StopTrainingJob`, it will pass that signal to your script.

## :scroll: License

This library is licensed under the [Apache 2.0 License](http://aws.amazon.com/apache2.0/).
Expand Down
1 change: 0 additions & 1 deletion test/unit/test_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ def _sleep_subprocess(capture_error):
exit(42)


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

0 comments on commit dd01bcb

Please sign in to comment.