We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8ba583 commit d87f868Copy full SHA for d87f868
tests/unit/test_decoder_nvimgcodec.py
@@ -3,6 +3,7 @@
3
4
import numpy as np
5
import pytest
6
+from pydicom import config as pydicom_config
7
from pydicom import dcmread
8
from pydicom.data import get_testdata_files
9
@@ -77,7 +78,10 @@
77
78
}
79
80
-@pytest.mark.skipif(not _is_nvimgcodec_available(), reason="nvimgcodec dependencies unavailable")
81
+@pytest.mark.skipif(
82
+ (not _is_nvimgcodec_available()) or (not pydicom_config.have_gdcm),
83
+ reason="nvimgcodec and GDCM dependencies unavailable",
84
+)
85
def test_nvimgcodec_decoder_matches_default():
86
"""Ensure nvimgcodec decoder matches default decoding for supported transfer syntaxes."""
87
0 commit comments