MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_strtobool

Function test_strtobool

testing/test_config.py:2003–2007  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2001
2002
2003def test_strtobool() -> None:
2004 assert _strtobool("YES")
2005 assert not _strtobool("NO")
2006 with pytest.raises(ValueError):
2007 _strtobool("unknown")
2008
2009
2010@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

_strtoboolFunction · 0.90

Tested by

no test coverage detected