Prevent accidental use of 'false' string in YAML config, which would evaluate to True.
()
| 21 | |
| 22 | |
| 23 | def test_str_config(): |
| 24 | """Prevent accidental use of 'false' string in YAML config, |
| 25 | which would evaluate to True. |
| 26 | """ |
| 27 | with dask.config.set({"array.query-planning": "false"}): |
| 28 | with pytest.raises(TypeError): |
| 29 | _array_expr_enabled() |
nothing calls this directly
no test coverage detected