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

Method test_idval_hypothesis

testing/python/metafunc.py:345–348  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

343 deadline=400.0
344 ) # very close to std deadline and CI boxes are not reliable in CPU power
345 def test_idval_hypothesis(self, value) -> None:
346 escaped = IdMaker([], [], None, None, None, None)._idval(value, "a", 6)
347 assert isinstance(escaped, str)
348 escaped.encode("ascii")
349
350 def test_unicode_idval(self) -> None:
351 """Test that Unicode strings outside the ASCII character set get

Callers

nothing calls this directly

Calls 2

IdMakerClass · 0.90
_idvalMethod · 0.80

Tested by

no test coverage detected