diff options
author | William Deegan <bill@baddogconsulting.com> | 2022-03-19 00:19:04 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2022-03-19 00:19:04 (GMT) |
commit | 915bfb3a55619175e03c3dc3573ad5ba83611e75 (patch) | |
tree | ea043612e6ee642583edd325167dd5f2eeedf8dc /test/ninja | |
parent | d19f74f8be81e8b1a18033afbb66726674311f6f (diff) | |
download | SCons-915bfb3a55619175e03c3dc3573ad5ba83611e75.zip SCons-915bfb3a55619175e03c3dc3573ad5ba83611e75.tar.gz SCons-915bfb3a55619175e03c3dc3573ad5ba83611e75.tar.bz2 |
flake8 fixes
Diffstat (limited to 'test/ninja')
-rw-r--r-- | test/ninja/ninja_handle_control_c_rebuild.py | 2 | ||||
-rw-r--r-- | test/ninja/ninja_test_sconscripts/sconstruct_control_c_ninja | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/ninja/ninja_handle_control_c_rebuild.py b/test/ninja/ninja_handle_control_c_rebuild.py index c2c8c8d..9f6b413 100644 --- a/test/ninja/ninja_handle_control_c_rebuild.py +++ b/test/ninja/ninja_handle_control_c_rebuild.py @@ -22,7 +22,7 @@ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # """ -This test ensures if ninja get's a control-c (or other interrupting signal) while +This test ensures if ninja gets a control-c (or other interrupting signal) while regenerating the build.ninja, it doesn't remove the build.ninja leaving it in an unworkable state. """ diff --git a/test/ninja/ninja_test_sconscripts/sconstruct_control_c_ninja b/test/ninja/ninja_test_sconscripts/sconstruct_control_c_ninja index 0124576..34d7872 100644 --- a/test/ninja/ninja_test_sconscripts/sconstruct_control_c_ninja +++ b/test/ninja/ninja_test_sconscripts/sconstruct_control_c_ninja @@ -1,7 +1,7 @@ import os import signal -SetOption('experimental','ninja') +SetOption('experimental', 'ninja') DefaultEnvironment(tools=[]) env = Environment() @@ -9,4 +9,4 @@ env.Tool('ninja') env.Program(target='foo', source='foo.c') if ARGUMENTS.get('NINJA_DISABLE_AUTO_RUN', 0): - os.kill(os.getppid(),signal.SIGINT ) + os.kill(os.getppid(), signal.SIGINT) |