From 3c91db88af9e51416e5338898ecfcd894ecc022b Mon Sep 17 00:00:00 2001 From: Christoph Gohlke Date: Tue, 10 Oct 2017 23:58:42 -0700 Subject: [PATCH 1/2] Test if pytest without capturing crashes on Appveyor [Do Not Merge] --- tests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests.py b/tests.py index 88d3e2195343..869bf6cae388 100755 --- a/tests.py +++ b/tests.py @@ -49,6 +49,7 @@ from matplotlib.testing import disable_internet disable_internet.turn_off_internet() extra_args.extend(['-m', 'not network']) + extra_args.extend(['-s']) print('Python byte-compilation optimization level:', sys.flags.optimize) From 0b8eab9adf8cd453a520799c8cb326407143e634 Mon Sep 17 00:00:00 2001 From: Christoph Gohlke Date: Wed, 11 Oct 2017 09:00:35 -0700 Subject: [PATCH 2/2] Disable faulthandler --- lib/matplotlib/__init__.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/matplotlib/__init__.py b/lib/matplotlib/__init__.py index 00488a134097..60810aad1739 100644 --- a/lib/matplotlib/__init__.py +++ b/lib/matplotlib/__init__.py @@ -1347,13 +1347,6 @@ def tk_window_focus(): def _init_tests(): - try: - import faulthandler - except ImportError: - pass - else: - faulthandler.enable() - # The version of FreeType to install locally for running the # tests. This must match the value in `setupext.py` LOCAL_FREETYPE_VERSION = '2.6.1'