##// END OF EJS Templates
use get, for when DISPLAY variable isn't defined
Paul Ivanov -
Show More
@@ -330,7 +330,7 b" skip_if_not_osx = skipif(sys.platform != 'darwin',"
330 330
331 331
332 332 _x11_skip_cond = (sys.platform not in ('darwin', 'win32') and
333 os.environ['DISPLAY']=='')
333 os.environ.get('DISPLAY', '') == '')
334 334 _x11_skip_msg = "Skipped under *nix when X11/XOrg not available"
335 335
336 336 skip_if_no_x11 = skipif(_x11_skip_cond, _x11_skip_msg)
General Comments 0
You need to be logged in to leave comments. Login now