This commit is contained in:
Felix Van der Jeugt 2016-02-15 21:59:09 +01:00
parent 67efd1c5e0
commit 60c2b9c0b2

View File

@ -425,7 +425,7 @@ def pytest_configure(config):
try: try:
disp = xvfbwrapper.Xvfb(width=800, height=600, colordepth=16) disp = xvfbwrapper.Xvfb(width=800, height=600, colordepth=16)
disp.start() disp.start()
except FileNotFoundError: except EnvironmentError:
# We run without Xvfb if it's unavailable. # We run without Xvfb if it's unavailable.
pass pass
else: else: