File fix_failing_tests.patch of Package python-reportlab.29359

---
 src/reportlab/lib/colors.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/src/reportlab/lib/colors.py
+++ b/src/reportlab/lib/colors.py
@@ -856,7 +856,7 @@ class toColor:
                         _chooseEnforceColorSpace _enforceCMYK _enforceError _enforceRGB _enforceSEP _enforceSEP_BLACK
                         _enforceSEP_CMYK _namedColors _re_css asNative cmyk2rgb cmykDistance color2bw colorDistance
                         cssParse describe fade fp_str getAllNamedColors hsl2rgb hue2rgb isStr linearlyInterpolatedColor
-                        literal_eval obj_R_G_B opaqueColor rgb2cmyk setColors toColor toColorOrNone'''.split()}
+                        literal_eval obj_R_G_B opaqueColor rgb2cmyk setColors toColor toColorOrNone'''.split() if s in C}
                 G.update(self._G)
                 try:
                     import ast
openSUSE Build Service is sponsored by