From 60c2b9c0b20a051cddf0cdd3bf0e40603dfe6bb9 Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Mon, 15 Feb 2016 21:59:09 +0100 Subject: [PATCH] fixes #1308 --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 6b9c1feca..2bfa30603 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -425,7 +425,7 @@ def pytest_configure(config): try: disp = xvfbwrapper.Xvfb(width=800, height=600, colordepth=16) disp.start() - except FileNotFoundError: + except EnvironmentError: # We run without Xvfb if it's unavailable. pass else: