MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / test_validator_invalid

Function test_validator_invalid

lib/matplotlib/tests/test_rcparams.py:461–463  ·  view source on GitHub ↗
(validator, arg, exception_type)

Source from the content-addressed store, hash-verified

459@pytest.mark.parametrize('validator, arg, exception_type',
460 generate_validator_testcases(False))
461def test_validator_invalid(validator, arg, exception_type):
462 with pytest.raises(exception_type):
463 validator(arg)
464
465
466def test_validate_cycler_bad_color_string():

Callers

nothing calls this directly

Calls 1

validatorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…