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

Method test_idmaker_with_bytes_regex

testing/python/metafunc.py:391–393  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

389 assert result == ["a0-\\xc3\\xb4"]
390
391 def test_idmaker_with_bytes_regex(self) -> None:
392 result = idmaker(("a"), [pytest.param(re.compile(b"foo"), 1.0)])
393 assert result == ["foo"]
394
395 def test_idmaker_native_strings(self) -> None:
396 result = idmaker(

Callers

nothing calls this directly

Calls 3

idmakerFunction · 0.90
paramMethod · 0.80
compileMethod · 0.80

Tested by

no test coverage detected