Skip to content

Test if pytest without capturing crashes on Appveyor [Do Not Merge] [skip travis] #9362

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions lib/matplotlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 1 addition & 0 deletions tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down