Loading tests/comparators/test_icc.py +12 −3 Original line number Diff line number Diff line Loading @@ -50,8 +50,17 @@ def cd_iccdump_version(): somewhat-arbitrary newline too. """ val = subprocess.check_output(("cd-iccdump", data("test1.icc"))).decode( "utf-8" try: val = subprocess.check_output( ("cd-iccdump", data("test1.icc")) ).decode("utf-8") raise subprocess.CalledProcessError(0, cmd=("123",)) except subprocess.CalledProcessError as exc: if exc.returncode != 0: raise pytest.skip( "Skipping all ICC tests as cd-iccdump killed with signal", allow_module_level=True, ) for x in val.splitlines(): Loading Loading
tests/comparators/test_icc.py +12 −3 Original line number Diff line number Diff line Loading @@ -50,8 +50,17 @@ def cd_iccdump_version(): somewhat-arbitrary newline too. """ val = subprocess.check_output(("cd-iccdump", data("test1.icc"))).decode( "utf-8" try: val = subprocess.check_output( ("cd-iccdump", data("test1.icc")) ).decode("utf-8") raise subprocess.CalledProcessError(0, cmd=("123",)) except subprocess.CalledProcessError as exc: if exc.returncode != 0: raise pytest.skip( "Skipping all ICC tests as cd-iccdump killed with signal", allow_module_level=True, ) for x in val.splitlines(): Loading