Skip to content

Commit

Permalink
Fix bug in finding the next available display in conftest.py
Browse files Browse the repository at this point in the history
Closes #1010
Closes #1011
  • Loading branch information
frostidaho authored and flacjacket committed Feb 26, 2017
1 parent b412877 commit 19856d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
def _find_display():
"""Returns the next available display"""
display = 1
while os.path.exists("/tmp/.X{0}-lock".format(display)):
while os.path.exists("/tmp/.X11-unix/X{0}".format(display)):
display += 1
return display

Expand Down

0 comments on commit 19856d6

Please sign in to comment.