summaryrefslogtreecommitdiff
path: root/tests/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index 65f76aacc..193b5bb5f 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -289,7 +289,7 @@ def pytest_report_header(config):
@pytest.fixture(scope='session', autouse=True)
def check_display(request):
if utils.is_linux and not os.environ.get('DISPLAY', ''):
- raise Exception("No display and no Xvfb available!")
+ raise RuntimeError("No display and no Xvfb available!")
@pytest.fixture(autouse=True)