MCPcopy
hub / github.com/pytest-dev/pytest / test_idmaker_with_bytes_regex

Method test_idmaker_with_bytes_regex

testing/python/metafunc.py:466–470  ·  testing/python/metafunc.py::TestMetafunc.test_idmaker_with_bytes_regex
(self)

Source from the content-addressed store, hash-verified

464 assert result == [class="st">"a0-\\xc3\\xb4"]
465
466 def test_idmaker_with_bytes_regex(self) -> None:
467 result = IdMaker(
468 (class="st">"a"), [pytest.param(re.compile(bclass="st">"foo"))], None, None, None, None
469 ).make_unique_parameterset_ids()
470 assert result == [class="st">"foo"]
471
472 def test_idmaker_native_strings(self) -> None:
473 result = IdMaker(

Callers

nothing calls this directly

Calls 4

IdMakerClass · 0.90
paramMethod · 0.80
compileMethod · 0.80

Tested by

no test coverage detected