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

Function test_unicode_handling

testing/code/test_code.py:82–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80
81
82def test_unicode_handling() -> None:
83 value = "ąć".encode()
84
85 def f() -> None:
86 raise Exception(value)
87
88 excinfo = pytest.raises(Exception, f)
89 str(excinfo)
90
91
92def test_code_getargs() -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected