Enable stacktraces of segfaults when running tests

This commit is contained in:
Micah Lee 2020-03-29 13:55:29 -07:00
parent c5b8938f1c
commit 145021b2e5
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -1,4 +1,8 @@
import sys
import faulthandler
# Enable stacktraces of segmentation faults
faulthandler.enable(file=sys.stdout)
# Force tests to look for resources in the source code tree
sys.onionshare_dev_mode = True