From 150b79f6d6efffc99bb7874e63466c6506623e9f Mon Sep 17 00:00:00 2001 From: Xavier de Gaye Date: Sun, 13 Nov 2016 21:14:03 +0100 Subject: 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. --- Lib/test/test_faulthandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/test_faulthandler.py') diff --git a/Lib/test/test_faulthandler.py b/Lib/test/test_faulthandler.py index bdd8d1a2a6..67219c16ea 100644 --- a/Lib/test/test_faulthandler.py +++ b/Lib/test/test_faulthandler.py @@ -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): -- cgit v1.2.1 From 71671fce07c5e1a483970ddcd92895d834bd7e08 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Fri, 16 Dec 2016 20:00:15 +0200 Subject: Remove unused imports. --- Lib/test/test_faulthandler.py | 1 - 1 file changed, 1 deletion(-) (limited to 'Lib/test/test_faulthandler.py') diff --git a/Lib/test/test_faulthandler.py b/Lib/test/test_faulthandler.py index 67219c16ea..28dd5f4e98 100644 --- a/Lib/test/test_faulthandler.py +++ b/Lib/test/test_faulthandler.py @@ -2,7 +2,6 @@ from contextlib import contextmanager import datetime import faulthandler import os -import re import signal import subprocess import sys -- cgit v1.2.1