diff options
author | Max Romanov <max.romanov@nginx.com> | 2020-11-16 20:37:01 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2020-11-16 20:37:01 +0300 |
commit | 567f0a7b3049f4532524ac35cb232cbeedb868bf (patch) | |
tree | 8a2eb4f43b5750c6e4fa47d7278a0b2e6e9508ce /test/unit/check | |
parent | 6d2b60ff3e6f905b81c6d2fc6595b39250e3a586 (diff) | |
download | unit-567f0a7b3049f4532524ac35cb232cbeedb868bf.tar.gz unit-567f0a7b3049f4532524ac35cb232cbeedb868bf.tar.bz2 |
Tests: fixing tests interrupt in terminal.
KeyboardInterrupt re-raised.
Diffstat (limited to 'test/unit/check')
-rw-r--r-- | test/unit/check/go.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/unit/check/go.py b/test/unit/check/go.py index dd2150eb..35b0c2d5 100644 --- a/test/unit/check/go.py +++ b/test/unit/check/go.py @@ -25,5 +25,8 @@ def check_go(current_dir, temp_dir, test_dir): if process.returncode == 0: return True + except KeyboardInterrupt: + raise + except: return None |