Skip duplicate consistency check on Windows (i.e., if sed not available)

This commit is contained in:
Douglas Stebila 2019-04-04 12:07:54 -04:00
parent 249bfb6197
commit 7a4e0d445b

View File

@ -18,7 +18,7 @@ def file_get_contents(filename):
return f.read()
def check_duplicate_consistency(implementation):
print(implementation.metadata())
helpers.ensure_available('sed')
if 'duplicate-consistency' in implementation.metadata():
dc = implementation.metadata()['duplicate-consistency']
for pairs in dc['files']: