[Python-checkins] cpython: Issue #26934: Fix test_faulthandler on Android where raise() exits with 0,

xavier.degaye python-checkins at python.org
Sun Nov 13 15:14:36 EST 2016


https://hg.python.org/cpython/rev/66aac9676a28
changeset:   105088:66aac9676a28
user:        Xavier de Gaye <xdegaye at users.sourceforge.net>
date:        Sun Nov 13 21:14:03 2016 +0100
summary:
  Issue #26934: Fix test_faulthandler on Android where raise() exits with 0,
with a cosmetic change to add a commit message with the issue number,
missing from the previous two commits.

files:
  Lib/test/test_faulthandler.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_faulthandler.py b/Lib/test/test_faulthandler.py
--- a/Lib/test/test_faulthandler.py
+++ b/Lib/test/test_faulthandler.py
@@ -44,7 +44,7 @@
 
 def requires_raise(test):
     return (test if not is_android else
-                    requires_android_level(24, 'raise() is buggy')(test))
+                   requires_android_level(24, 'raise() is buggy')(test))
 
 class FaultHandlerTests(unittest.TestCase):
     def get_output(self, code, filename=None, fd=None):

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list