(val: Any)
| 290 | if "ssl" in options and "tls" in options: |
| 291 | |
| 292 | def truth_value(val: Any) -> Any: |
| 293 | if val in ("true", "false"): |
| 294 | return val == "true" |
| 295 | if isinstance(val, bool): |
| 296 | return val |
| 297 | return val |
| 298 | |
| 299 | if truth_value(options.get("ssl")) != truth_value(options.get("tls")): |
| 300 | err_msg = "Can not specify conflicting values for URI options %s and %s." |
no outgoing calls
no test coverage detected