MCPcopy Create free account
hub / github.com/celery/celery / test_simple_format_unknown_key

Function test_simple_format_unknown_key

t/unit/utils/test_text.py:97–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95
96
97def test_simple_format_unknown_key():
98 with pytest.raises(ValueError, match='Unknown format %x'):
99 simple_format('%x', {})
100
101
102@pytest.mark.parametrize('task_name,s,expected', [

Callers

nothing calls this directly

Calls 2

simple_formatFunction · 0.90
raisesMethod · 0.80

Tested by

no test coverage detected