Shayan Doust pushed to branch master at Debian Med / pydicom
Commits: 6bd0cda4 by Shayan Doust at 2020-07-17T14:18:53+01:00 Patch to fix numpy test - - - - - 2 changed files: - + debian/patches/fix_numpy_test.patch - debian/patches/series Changes: ===================================== debian/patches/fix_numpy_test.patch ===================================== @@ -0,0 +1,17 @@ +Description: fix numpy test to use double quotes + Upstream seemingly reverted to using single quotes instead of double quotes, which throws an assertion during the test. +Author: Shayan Doust <[email protected]> +Last-Update: 2020-07-17 +--- + +--- pydicom.orig/pydicom/tests/test_handler_util.py ++++ pydicom/pydicom/tests/test_handler_util.py +@@ -945,7 +945,7 @@ + ds = dcmread(PAL_08_256_0_16_1F) + ds.RedPaletteColorLookupTableDescriptor[2] = 15 + msg = ( +- r'data type "uint15" not understood' ++ r"data type ['\"]uint15['\"] not understood" + ) + with pytest.raises(TypeError, match=msg): + apply_color_lut(ds.pixel_array, ds) ===================================== debian/patches/series ===================================== @@ -1 +1,2 @@ +fix_numpy_test.patch deb_no_unicode View it on GitLab: https://salsa.debian.org/med-team/pydicom/-/commit/6bd0cda42321b24dc218bfa38c5f44c1880fc9b5 -- View it on GitLab: https://salsa.debian.org/med-team/pydicom/-/commit/6bd0cda42321b24dc218bfa38c5f44c1880fc9b5 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
