25 Jan
2015
25 Jan
'15
12:14 a.m.
Hi, I have two questions related to tests in scikit-image: 1) is there a way to run just a specific test file, as "make test" runs all tests? I tried: python skimage/feature/tests/test_peak.py but it dies with "NameError: name 'version' is not defined" 2) What about using conditional skips for tests in skimage/viewer/tests otherwise these tests fail with "cannot connect to X server" if we are using ssh without -X? StackOverflow suggests checking os.environ['DISPLAY'] (http://stackoverflow.com/questions/12122671/how-to-determine-from-a-python-a...) Kind regards, Kevin