1 def getRoot(config): 2 if not config.parent: 3 return config 4 return getRoot(config.parent) 5 6 root = getRoot(config) 7 8 # We only run a small set of tests on Windows for now. 9 # Override the parent directory's "unsupported" decision until we can handle 10 # all of its tests. 11 if root.host_os in ['Windows']: 12 config.unsupported = False 13 else: 14 config.unsupported = True 15