Tests: fixing tests interrupt in terminal.

KeyboardInterrupt re-raised.
This commit is contained in:
Max Romanov
2020-11-16 20:37:01 +03:00
parent 6d2b60ff3e
commit 567f0a7b30
10 changed files with 52 additions and 9 deletions

View File

@@ -134,6 +134,9 @@ class TestStatic(TestApplicationProto):
open(temp_dir + 'а', 'a').close()
utf8 = True
except KeyboardInterrupt:
raise
except:
utf8 = False