Skip to content
Snippets Groups Projects
Commit 32f93316 authored by Philip Elson's avatar Philip Elson :snake:
Browse files

Merge branch 'feature/better-default-exception' into 'master'

Ensure that the fault-handler is always disabled in pytest for CI

See merge request !83
parents d8727dc4 54851243
Branches
Tags v2.5.0
1 merge request!83Ensure that the fault-handler is always disabled in pytest for CI
Pipeline #3746693 passed
......@@ -25,6 +25,7 @@ release_sdist:
variables:
env_spec: INSERT_CONDA_REQUIREMENTS
POST_CONDA: ""
PYTEST_ADDOPTS: "-p no:faulthandler"
image: registry.cern.ch/docker.io/continuumio/miniconda3
script:
- conda create -n test_env --yes --quiet -c conda-forge pip $env_spec
......
......@@ -13,13 +13,6 @@ def pytest_configure(config):
plugin.mypy_argv.extend(['--config-file', f'{conf_file}'])
def pytest_cmdline_preparse(config, args):
# This hook is technically deprecated, but there is no equivalent behaviour.
# See https://github.com/pytest-dev/pytest/issues/5024 for discussion and
# follow-up.
args.extend(['-p', 'no:faulthandler'])
@pytest.fixture
def enumtype_byte(jvm):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment