(val: object)
| 1283 | |
| 1284 | def test_get_plugin_specs_as_list() -> None: |
| 1285 | def exp_match(val: object) -> str: |
| 1286 | return ( |
| 1287 | "Plugins may be specified as a sequence or a ','-separated string of plugin names. Got: %s" |
| 1288 | % re.escape(repr(val)) |
| 1289 | ) |
| 1290 | |
| 1291 | with pytest.raises(pytest.UsageError, match=exp_match({"foo"})): |
| 1292 | _get_plugin_specs_as_list({"foo"}) # type: ignore[arg-type] |
no outgoing calls
no test coverage detected