[med-svn] [Git][med-team/pydicom][master] Drop gdcm tests due to wrong usage

Andreas Tille (@tille) gitlab at salsa.debian.org
Fri Dec 10 16:34:30 GMT 2021



Andreas Tille pushed to branch master at Debian Med / pydicom


Commits:
e2242b37 by Andreas Tille at 2021-12-10T17:34:14+01:00
Drop gdcm tests due to wrong usage

- - - - -


4 changed files:

- debian/changelog
- debian/patches/ignore_tests_downloading_data.patch
- + debian/patches/ignore_tests_with_wrong_gdcm_usage.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -8,6 +8,7 @@ pydicom (2.2.2-1) UNRELEASED; urgency=medium
   * autopkgtest-pkg-python.conf: extra_restrictions=needs-internet
   * Build-Depends: python3-gdcm
   * Drop lots of test requiring data files in need to be downloaded
+  * Drop gdcm tests due to wrong usage
 
   [ Steffen Moeller ]
   * Fixed d/watch (github path update)


=====================================
debian/patches/ignore_tests_downloading_data.patch
=====================================
@@ -1559,7 +1559,15 @@ Description: Several data files need to be downloaded which is not possible at p
  class TestGDCM_JPEG2000_no_gdcm:
      def setup(self):
          self.jpeg_2k = dcmread(jpeg2000_name)
-@@ -212,133 +214,137 @@ class TestGDCM_JPEGlossless_no_gdcm:
+@@ -188,6 +190,7 @@ class TestGDCM_JPEGlossy_no_gdcm:
+             self.color_3d_jpeg.pixel_array
+ 
+ 
++ at pytest.mark.skip("When building a Debian package we can not download anything")
+ class TestGDCM_JPEGlossless_no_gdcm:
+     def setup(self):
+         self.jpeg_lossless = dcmread(jpeg_lossless_name)
+@@ -212,133 +215,137 @@ class TestGDCM_JPEGlossless_no_gdcm:
              self.jpeg_lossless.pixel_array
  
  
@@ -1822,7 +1830,7 @@ Description: Several data files need to be downloaded which is not possible at p
  class TestsWithGDCM:
      @pytest.fixture(params=with_gdcm_params, scope='class', autouse=True)
      def with_gdcm(self, request):
-@@ -572,7 +578,7 @@ class TestsWithGDCM:
+@@ -572,7 +579,7 @@ class TestsWithGDCM:
          )
  
  
@@ -1831,3 +1839,326 @@ Description: Several data files need to be downloaded which is not possible at p
  class TestSupportFunctions:
      @pytest.fixture(scope='class')
      def dataset_2d(self):
+--- a/pydicom/tests/test_jpeg_ls_pixel_data.py
++++ b/pydicom/tests/test_jpeg_ls_pixel_data.py
+@@ -22,44 +22,44 @@ have_jpeg_ls_handler = jpeg_ls_handler.i
+ 
+ test_jpeg_ls_decoder = have_numpy_handler and have_jpeg_ls_handler
+ 
+-empty_number_tags_name = get_testdata_file(
+-    "reportsi_with_empty_number_tags.dcm")
+-rtplan_name = get_testdata_file("rtplan.dcm")
+-rtdose_name = get_testdata_file("rtdose.dcm")
+-ct_name = get_testdata_file("CT_small.dcm")
+-mr_name = get_testdata_file("MR_small.dcm")
+-truncated_mr_name = get_testdata_file("MR_truncated.dcm")
+-jpeg2000_name = get_testdata_file("JPEG2000.dcm")
+-jpeg2000_lossless_name = get_testdata_file(
+-    "MR_small_jp2klossless.dcm")
+-jpeg_ls_lossless_name = get_testdata_file(
+-    "MR_small_jpeg_ls_lossless.dcm")
+-jpeg_lossy_name = get_testdata_file("JPEG-lossy.dcm")
+-jpeg_lossless_name = get_testdata_file("JPEG-LL.dcm")
+-deflate_name = get_testdata_file("image_dfl.dcm")
+-rtstruct_name = get_testdata_file("rtstruct.dcm")
+-priv_SQ_name = get_testdata_file("priv_SQ.dcm")
+-nested_priv_SQ_name = get_testdata_file("nested_priv_SQ.dcm")
+-meta_missing_tsyntax_name = get_testdata_file(
+-    "meta_missing_tsyntax.dcm")
+-no_meta_group_length = get_testdata_file(
+-    "no_meta_group_length.dcm")
+-gzip_name = get_testdata_file("zipMR.gz")
+-color_px_name = get_testdata_file("color-px.dcm")
+-color_pl_name = get_testdata_file("color-pl.dcm")
+-explicit_vr_le_no_meta = get_testdata_file(
+-    "ExplVR_LitEndNoMeta.dcm")
+-explicit_vr_be_no_meta = get_testdata_file(
+-    "ExplVR_BigEndNoMeta.dcm")
+-emri_name = get_testdata_file("emri_small.dcm")
+-emri_big_endian_name = get_testdata_file(
+-    "emri_small_big_endian.dcm")
+-emri_jpeg_ls_lossless = get_testdata_file(
+-    "emri_small_jpeg_ls_lossless.dcm")
+-emri_jpeg_2k_lossless = get_testdata_file(
+-    "emri_small_jpeg_2k_lossless.dcm")
+-color_3d_jpeg_baseline = get_testdata_file(
+-    "color3d_jpeg_baseline.dcm")
++#empty_number_tags_name = get_testdata_file(
++#    "reportsi_with_empty_number_tags.dcm")
++#rtplan_name = get_testdata_file("rtplan.dcm")
++#rtdose_name = get_testdata_file("rtdose.dcm")
++#ct_name = get_testdata_file("CT_small.dcm")
++#mr_name = get_testdata_file("MR_small.dcm")
++#truncated_mr_name = get_testdata_file("MR_truncated.dcm")
++#jpeg2000_name = get_testdata_file("JPEG2000.dcm")
++#jpeg2000_lossless_name = get_testdata_file(
++#    "MR_small_jp2klossless.dcm")
++#jpeg_ls_lossless_name = get_testdata_file(
++#    "MR_small_jpeg_ls_lossless.dcm")
++#jpeg_lossy_name = get_testdata_file("JPEG-lossy.dcm")
++#jpeg_lossless_name = get_testdata_file("JPEG-LL.dcm")
++#deflate_name = get_testdata_file("image_dfl.dcm")
++#rtstruct_name = get_testdata_file("rtstruct.dcm")
++#priv_SQ_name = get_testdata_file("priv_SQ.dcm")
++#nested_priv_SQ_name = get_testdata_file("nested_priv_SQ.dcm")
++#meta_missing_tsyntax_name = get_testdata_file(
++#    "meta_missing_tsyntax.dcm")
++#no_meta_group_length = get_testdata_file(
++#    "no_meta_group_length.dcm")
++#gzip_name = get_testdata_file("zipMR.gz")
++#color_px_name = get_testdata_file("color-px.dcm")
++#color_pl_name = get_testdata_file("color-pl.dcm")
++#explicit_vr_le_no_meta = get_testdata_file(
++#    "ExplVR_LitEndNoMeta.dcm")
++#explicit_vr_be_no_meta = get_testdata_file(
++#    "ExplVR_BigEndNoMeta.dcm")
++#emri_name = get_testdata_file("emri_small.dcm")
++#emri_big_endian_name = get_testdata_file(
++#    "emri_small_big_endian.dcm")
++#emri_jpeg_ls_lossless = get_testdata_file(
++#    "emri_small_jpeg_ls_lossless.dcm")
++#emri_jpeg_2k_lossless = get_testdata_file(
++#    "emri_small_jpeg_2k_lossless.dcm")
++#color_3d_jpeg_baseline = get_testdata_file(
++#    "color3d_jpeg_baseline.dcm")
+ dir_name = os.path.dirname(sys.argv[0])
+ save_dir = os.getcwd()
+ 
+@@ -67,6 +67,7 @@ SUPPORTED_HANDLER_NAMES = (
+     'jpegls', 'jpeg_ls', 'JPEG_LS', 'jpegls_handler', 'JPEG_LS_Handler'
+ )
+ 
++ at pytest.mark.skip("Ignore test due to wrong gdcm usage. (See https://lists.debian.org/debian-med/2021/12/msg00061.html)")
+ class TestJPEGLS_no_jpeg_ls:
+     def setup(self):
+         self.jpeg_ls_lossless = dcmread(jpeg_ls_lossless_name)
+@@ -84,6 +85,7 @@ class TestJPEGLS_no_jpeg_ls:
+             self.jpeg_ls_lossless.pixel_array
+ 
+ 
++ at pytest.mark.skip("Ignore test due to wrong gdcm usage. (See https://lists.debian.org/debian-med/2021/12/msg00061.html)")
+ class TestJPEGLS_JPEG2000_no_jpeg_ls:
+     def setup(self):
+         self.jpeg_2k = dcmread(jpeg2000_name)
+@@ -108,6 +110,7 @@ class TestJPEGLS_JPEG2000_no_jpeg_ls:
+             self.emri_jpeg_2k_lossless.pixel_array
+ 
+ 
++ at pytest.mark.skip("Ignore test due to wrong gdcm usage. (See https://lists.debian.org/debian-med/2021/12/msg00061.html)")
+ class TestJPEGLS_JPEGlossy_no_jpeg_ls:
+     def setup(self):
+         self.jpeg_lossy = dcmread(jpeg_lossy_name)
+@@ -133,6 +136,7 @@ class TestJPEGLS_JPEGlossy_no_jpeg_ls:
+             self.color_3d_jpeg.pixel_array
+ 
+ 
++ at pytest.mark.skip("Ignore test due to wrong gdcm usage. (See https://lists.debian.org/debian-med/2021/12/msg00061.html)")
+ class TestJPEGLS_JPEGlossless_no_jpeg_ls:
+     def setup(self):
+         self.jpeg_lossless = dcmread(jpeg_lossless_name)
+@@ -156,6 +160,7 @@ class TestJPEGLS_JPEGlossless_no_jpeg_ls
+             self.jpeg_lossless.pixel_array
+ 
+ 
++ at pytest.mark.skip("Ignore test due to wrong gdcm usage. (See https://lists.debian.org/debian-med/2021/12/msg00061.html)")
+ @pytest.mark.skipif(not test_jpeg_ls_decoder, reason=jpeg_ls_missing_message)
+ class TestJPEGLS_JPEG_LS_with_jpeg_ls:
+     def setup(self):
+@@ -189,6 +194,7 @@ class TestJPEGLS_JPEG_LS_with_jpeg_ls:
+         assert b.mean() == a.mean()
+ 
+ 
++ at pytest.mark.skip("Ignore test due to wrong gdcm usage. (See https://lists.debian.org/debian-med/2021/12/msg00061.html)")
+ @pytest.mark.skipif(not test_jpeg_ls_decoder, reason=jpeg_ls_missing_message)
+ class TestJPEGLS_JPEG2000_with_jpeg_ls:
+     def setup(self):
+@@ -212,6 +218,7 @@ class TestJPEGLS_JPEG2000_with_jpeg_ls:
+             self.emri_jpeg_2k_lossless.pixel_array
+ 
+ 
++ at pytest.mark.skip("Ignore test due to wrong gdcm usage. (See https://lists.debian.org/debian-med/2021/12/msg00061.html)")
+ @pytest.mark.skipif(not test_jpeg_ls_decoder, reason=jpeg_ls_missing_message)
+ class TestJPEGLS_JPEGlossy_with_jpeg_ls:
+     def setup(self):
+@@ -237,6 +244,7 @@ class TestJPEGLS_JPEGlossy_with_jpeg_ls:
+             self.color_3d_jpeg.pixel_array
+ 
+ 
++ at pytest.mark.skip("Ignore test due to wrong gdcm usage. (See https://lists.debian.org/debian-med/2021/12/msg00061.html)")
+ @pytest.mark.skipif(not test_jpeg_ls_decoder, reason=jpeg_ls_missing_message)
+ class TestJPEGLS_JPEGlossless_with_jpeg_ls:
+     def setup(self):
+--- a/pydicom/tests/test_filereader.py
++++ b/pydicom/tests/test_filereader.py
+@@ -59,45 +59,45 @@ except ImportError:
+ have_jpeg_ls = jpeg_ls is not None
+ have_pillow = PILImg is not None
+ 
+-empty_number_tags_name = get_testdata_file(
+-    "reportsi_with_empty_number_tags.dcm"
+-)
+-rtplan_name = get_testdata_file("rtplan.dcm")
+-rtdose_name = get_testdata_file("rtdose.dcm")
+-ct_name = get_testdata_file("CT_small.dcm")
+-mr_name = get_testdata_file("MR_small.dcm")
+-truncated_mr_name = get_testdata_file("MR_truncated.dcm")
+-jpeg2000_name = get_testdata_file("JPEG2000.dcm")
+-jpeg2000_embedded_sequence_delimeter_name = get_testdata_file(
+-    "JPEG2000-embedded-sequence-delimiter.dcm"
+-)
+-jpeg2000_lossless_name = get_testdata_file("MR_small_jp2klossless.dcm")
+-jpeg_ls_lossless_name = get_testdata_file("MR_small_jpeg_ls_lossless.dcm")
+-jpeg_lossy_name = get_testdata_file("JPEG-lossy.dcm")
+-jpeg_lossless_name = get_testdata_file("JPEG-LL.dcm")
+-deflate_name = get_testdata_file("image_dfl.dcm")
+-rtstruct_name = get_testdata_file("rtstruct.dcm")
+-priv_SQ_name = get_testdata_file("priv_SQ.dcm")
+-nested_priv_SQ_name = get_testdata_file("nested_priv_SQ.dcm")
+-meta_missing_tsyntax_name = get_testdata_file("meta_missing_tsyntax.dcm")
+-no_meta_group_length = get_testdata_file("no_meta_group_length.dcm")
+-gzip_name = get_testdata_file("zipMR.gz")
+-color_px_name = get_testdata_file("color-px.dcm")
+-color_pl_name = get_testdata_file("color-pl.dcm")
+-explicit_vr_le_no_meta = get_testdata_file("ExplVR_LitEndNoMeta.dcm")
+-explicit_vr_be_no_meta = get_testdata_file("ExplVR_BigEndNoMeta.dcm")
+-emri_name = get_testdata_file("emri_small.dcm")
+-emri_big_endian_name = get_testdata_file("emri_small_big_endian.dcm")
+-emri_jpeg_ls_lossless = get_testdata_file("emri_small_jpeg_ls_lossless.dcm")
+-emri_jpeg_2k_lossless = get_testdata_file("emri_small_jpeg_2k_lossless.dcm")
+-emri_jpeg_2k_lossless_too_short = get_testdata_file(
+-    "emri_small_jpeg_2k_lossless_too_short.dcm"
+-)
+-color_3d_jpeg_baseline = get_testdata_file("color3d_jpeg_baseline.dcm")
++#empty_number_tags_name = get_testdata_file(
++#    "reportsi_with_empty_number_tags.dcm"
++#)
++#rtplan_name = get_testdata_file("rtplan.dcm")
++#rtdose_name = get_testdata_file("rtdose.dcm")
++#ct_name = get_testdata_file("CT_small.dcm")
++#mr_name = get_testdata_file("MR_small.dcm")
++#truncated_mr_name = get_testdata_file("MR_truncated.dcm")
++#jpeg2000_name = get_testdata_file("JPEG2000.dcm")
++#jpeg2000_embedded_sequence_delimeter_name = get_testdata_file(
++#    "JPEG2000-embedded-sequence-delimiter.dcm"
++#)
++#jpeg2000_lossless_name = get_testdata_file("MR_small_jp2klossless.dcm")
++#jpeg_ls_lossless_name = get_testdata_file("MR_small_jpeg_ls_lossless.dcm")
++#jpeg_lossy_name = get_testdata_file("JPEG-lossy.dcm")
++#jpeg_lossless_name = get_testdata_file("JPEG-LL.dcm")
++#deflate_name = get_testdata_file("image_dfl.dcm")
++#rtstruct_name = get_testdata_file("rtstruct.dcm")
++#priv_SQ_name = get_testdata_file("priv_SQ.dcm")
++#nested_priv_SQ_name = get_testdata_file("nested_priv_SQ.dcm")
++#meta_missing_tsyntax_name = get_testdata_file("meta_missing_tsyntax.dcm")
++#no_meta_group_length = get_testdata_file("no_meta_group_length.dcm")
++#gzip_name = get_testdata_file("zipMR.gz")
++#color_px_name = get_testdata_file("color-px.dcm")
++#color_pl_name = get_testdata_file("color-pl.dcm")
++#explicit_vr_le_no_meta = get_testdata_file("ExplVR_LitEndNoMeta.dcm")
++#explicit_vr_be_no_meta = get_testdata_file("ExplVR_BigEndNoMeta.dcm")
++#emri_name = get_testdata_file("emri_small.dcm")
++#emri_big_endian_name = get_testdata_file("emri_small_big_endian.dcm")
++#emri_jpeg_ls_lossless = get_testdata_file("emri_small_jpeg_ls_lossless.dcm")
++#emri_jpeg_2k_lossless = get_testdata_file("emri_small_jpeg_2k_lossless.dcm")
++#emri_jpeg_2k_lossless_too_short = get_testdata_file(
++#    "emri_small_jpeg_2k_lossless_too_short.dcm"
++#)
++#color_3d_jpeg_baseline = get_testdata_file("color3d_jpeg_baseline.dcm")
+ dir_name = os.path.dirname(sys.argv[0])
+ save_dir = os.getcwd()
+ 
+-
++ at pytest.mark.skip("When building a Debian package we can not download anything")
+ class TestReader:
+     def test_empty_numbers_tag(self):
+         """Test that an empty tag with a number VR (FL, UL, SL, US,
+@@ -1366,6 +1366,7 @@ class TestDSISnumpy:
+         config.DS_decimal(orig_DS_decimal)
+         config.DS_numpy(orig_DS_numpy)
+ 
++    @pytest.mark.skip("When building a Debian package we can not download anything")
+     @pytest.mark.skipif(have_numpy, reason="Testing import error")
+     def test_IS_numpy_import_error(self):
+         config.use_IS_numpy = True
+@@ -1374,6 +1375,7 @@ class TestDSISnumpy:
+         with pytest.raises(ImportError):
+             rtss.ROIContourSequence[0].ROIDisplayColor  # VR is IS
+ 
++    @pytest.mark.skip("When building a Debian package we can not download anything")
+     @pytest.mark.skipif(not have_numpy, reason="Testing with numpy only")
+     def test_IS_numpy_class(self):
+         config.use_IS_numpy = True
+@@ -1386,6 +1388,7 @@ class TestDSISnumpy:
+         roi_num = rtss.ROIContourSequence[0].ReferencedROINumber
+         assert isinstance(roi_num, numpy.int64)
+ 
++    @pytest.mark.skip("When building a Debian package we can not download anything")
+     def test_IS_not_numpy(self):
+         """Test class of the object matches the config,
+         when the config is changed"""
+@@ -1394,6 +1397,7 @@ class TestDSISnumpy:
+         col = rtss.ROIContourSequence[0].ROIDisplayColor  # VR is IS
+         assert isinstance(col, MultiValue)
+ 
++    @pytest.mark.skip("When building a Debian package we can not download anything")
+     @pytest.mark.skipif(have_numpy, reason="Testing import error")
+     def test_DS_numpy_import_error(self):
+         config.use_DS_numpy = True
+@@ -1402,6 +1406,7 @@ class TestDSISnumpy:
+         with pytest.raises(ImportError):
+             rtss.ROIContourSequence[0].ContourSequence[0].ContourData
+ 
++    @pytest.mark.skip("When building a Debian package we can not download anything")
+     @pytest.mark.skipif(not have_numpy, reason="Testing with numpy only")
+     def test_DS_numpy_class(self):
+         config.use_DS_numpy = True
+@@ -1415,6 +1420,7 @@ class TestDSISnumpy:
+         roi_vol = rtss.StructureSetROISequence[0].ROIVolume
+         assert isinstance(roi_vol, numpy.float64)
+ 
++    @pytest.mark.skip("When building a Debian package we can not download anything")
+     def test_DS_not_numpy(self):
+         """Test class of the object matches the config."""
+         config.use_DS_numpy = False
+@@ -1458,6 +1464,7 @@ class TestDSISnumpy:
+             values.convert_IS_string(b"123", True)
+ 
+ 
++ at pytest.mark.skip("When building a Debian package we can not download anything")
+ class TestDeferredRead:
+     """Test that deferred data element reading (for large size)
+     works as expected
+@@ -1523,6 +1530,7 @@ class TestDeferredRead:
+         assert 32768 == len(dataset.PixelData)
+ 
+ 
++ at pytest.mark.skip("When building a Debian package we can not download anything")
+ class TestReadTruncatedFile:
+     def testReadFileWithMissingPixelData(self):
+         mr = dcmread(truncated_mr_name)
+@@ -1555,6 +1563,7 @@ class TestReadTruncatedFile:
+             mr.pixel_array
+ 
+ 
++ at pytest.mark.skip("When building a Debian package we can not download anything")
+ class TestFileLike:
+     """Test that can read DICOM files with file-like object rather than
+     filename
+--- a/pydicom/tests/test_cli.py
++++ b/pydicom/tests/test_cli.py
+@@ -120,6 +120,7 @@ class TestCLIcall:
+         out, _ = capsys.readouterr()
+         assert out.startswith("usage: pydicom [-h] {")
+ 
++    @pytest.mark.skip("When building a Debian package we can not download anything")
+     def test_codify_command(self, capsys):
+         """CLI `codify` command prints correct output"""
+ 
+@@ -170,6 +171,7 @@ class TestCLIcall:
+         out, _ = capsys.readouterr()
+         assert "4000" == out.strip()
+ 
++    @pytest.mark.skip("When building a Debian package we can not download anything")
+     def test_show_options(self, capsys):
+         """CLI `show` command with options prints correct output"""
+         # Quiet option, image file


=====================================
debian/patches/ignore_tests_with_wrong_gdcm_usage.patch
=====================================
@@ -0,0 +1,55 @@
+--- a/pydicom/tests/test_gdcm_pixel_data.py
++++ b/pydicom/tests/test_gdcm_pixel_data.py
+@@ -165,6 +165,7 @@ class TestGDCM_JPEG2000_no_gdcm:
+             self.sc_rgb_jpeg2k_gdcm_KY.pixel_array
+ 
+ 
++ at pytest.mark.skip("When building a Debian package we can not download anything")
+ class TestGDCM_JPEGlossy_no_gdcm:
+     def setup(self):
+         self.jpeg_lossy = dcmread(jpeg_lossy_name)
+@@ -175,6 +176,7 @@ class TestGDCM_JPEGlossy_no_gdcm:
+     def teardown(self):
+         pydicom.config.pixel_data_handlers = self.original_handlers
+ 
++    @pytest.mark.skip("Ignore test due to wrong gdcm usage. (See https://lists.debian.org/debian-med/2021/12/msg00061.html)")
+     def test_JPEGlossy(self):
+         """JPEG-lossy: Returns correct values for sample data elements"""
+         got = self.jpeg_lossy.DerivationCodeSequence[0].CodeMeaning
+@@ -200,6 +202,7 @@ class TestGDCM_JPEGlossless_no_gdcm:
+     def teardown(self):
+         pydicom.config.pixel_data_handlers = self.original_handlers
+ 
++    @pytest.mark.skip("Ignore test due to wrong gdcm usage. (See https://lists.debian.org/debian-med/2021/12/msg00061.html)")
+     def testJPEGlossless(self):
+         """JPEGlossless: Returns correct values for sample data elements"""
+         got = self.\
+@@ -406,10 +409,12 @@ class TestsWithGDCM:
+     def color_3d_jpeg(self):
+         return dcmread(color_3d_jpeg_baseline)
+ 
++    @pytest.mark.skip("When building a Debian package we can not download anything")
+     @pytest.fixture
+     def jpeg_lossy(self):
+         return dcmread(jpeg_lossy_name)
+ 
++    @pytest.mark.skip("When building a Debian package we can not download anything")
+     @pytest.fixture
+     def jpeg_lossless(self):
+         return dcmread(jpeg_lossless_name)
+@@ -418,6 +423,7 @@ class TestsWithGDCM:
+     def jpeg_lossless_odd_data_size(self):
+         return dcmread(jpeg_lossless_odd_data_size_name)
+ 
++    @pytest.mark.skip("Ignore test due to wrong gdcm usage. (See https://lists.debian.org/debian-med/2021/12/msg00061.html)")
+     def test_JPEG_LS_PixelArray(self, jpeg_ls_lossless, mr_small):
+         a = jpeg_ls_lossless.pixel_array
+         b = mr_small.pixel_array
+@@ -544,6 +550,7 @@ class TestsWithGDCM:
+         assert results[9] == tuple(a[95, 50, :])
+         assert PhotometricInterpretation == t.PhotometricInterpretation
+ 
++    @pytest.mark.skip("When building a Debian package we can not download anything")
+     def test_bytes_io(self):
+         """Test using a BytesIO as the dataset source."""
+         with open(jpeg2000_name, 'rb') as f:


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 deb_no_unicode
 ignore_tests_downloading_data.patch
+ignore_tests_with_wrong_gdcm_usage.patch



View it on GitLab: https://salsa.debian.org/med-team/pydicom/-/commit/e2242b37f82b1b6424bd678091e876224567cc87

-- 
View it on GitLab: https://salsa.debian.org/med-team/pydicom/-/commit/e2242b37f82b1b6424bd678091e876224567cc87
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20211210/6c77d181/attachment-0001.htm>


More information about the debian-med-commit mailing list