summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_faulthandler.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_faulthandler.py')
-rw-r--r--Lib/test/test_faulthandler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_faulthandler.py b/Lib/test/test_faulthandler.py
index ccdf3b6..e396054 100644
--- a/Lib/test/test_faulthandler.py
+++ b/Lib/test/test_faulthandler.py
@@ -194,10 +194,10 @@ class FaultHandlerTests(unittest.TestCase):
self.check_fatal_error("""
import faulthandler
faulthandler.enable()
- faulthandler._read_null(True)
+ faulthandler._sigsegv(True)
""",
3,
- '(?:Segmentation fault|Bus error|Illegal instruction)')
+ 'Segmentation fault')
def test_enable_file(self):
with temporary_filename() as filename: