test_ok1/py/green/conftest.py

9 lines
232 B
Python

import py, os
class Directory(py.test.collect.Directory):
def run(self):
if os.name == 'nt':
py.test.skip("Cannot test green layer on windows")
else:
return super(Directory, self).run()