]> granicus.if.org Git - python/commitdiff
Issue #26934: Fix test_faulthandler on Android where raise() exits with 0,
authorXavier de Gaye <xdegaye@users.sourceforge.net>
Sun, 13 Nov 2016 20:14:03 +0000 (21:14 +0100)
committerXavier de Gaye <xdegaye@users.sourceforge.net>
Sun, 13 Nov 2016 20:14:03 +0000 (21:14 +0100)
with a cosmetic change to add a commit message with the issue number,
missing from the previous two commits.

Lib/test/test_faulthandler.py

index bdd8d1a2a6163fd8dfb64e6812327c9677dfad43..67219c16eacf97f0b7330b6c3292460cdcba5c2f 100644 (file)
@@ -44,7 +44,7 @@ def temporary_filename():
 
 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):