[svn r51056] fijal: don't use py.test.skip directly in a conftest.py -
this will get called very early during import time. This lead to windows not executing any py/ tests at all. --HG-- branch : trunk
This commit is contained in:
parent
f2b0bd10e6
commit
f7e1bbeb24
|
@ -1,4 +1,8 @@
|
|||
import py, os
|
||||
|
||||
if os.name == 'nt':
|
||||
py.test.skip("Cannot test green layer on windows")
|
||||
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()
|
||||
|
|
Loading…
Reference in New Issue