From 7a4e0d445ba025964dd70c1b0b483437258914d3 Mon Sep 17 00:00:00 2001 From: Douglas Stebila Date: Thu, 4 Apr 2019 12:07:54 -0400 Subject: [PATCH] Skip duplicate consistency check on Windows (i.e., if sed not available) --- test/test_duplicate_consistency.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_duplicate_consistency.py b/test/test_duplicate_consistency.py index 890d36e2..53e315c0 100644 --- a/test/test_duplicate_consistency.py +++ b/test/test_duplicate_consistency.py @@ -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']: