1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
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 <hello@shayandoust.me>
Applied-Upstream: https://github.com/pydicom/pydicom/pull/1114/commits/2d6337bd770db09d627b77c9a1c354b1666ad39e
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)
|