fixes #1308
This commit is contained in:
parent
67efd1c5e0
commit
60c2b9c0b2
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user