Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ toterminal
Method
toterminal
testing/code/test_excinfo.py:917–918 ·
view source on GitHub ↗
(self, tw: TerminalWriter)
Source
from the content-addressed store, hash-verified
915
916
class
MyRepr(TerminalRepr):
917
def
toterminal(self, tw: TerminalWriter) -> None:
918
tw.line(
"я"
)
919
920
x = str(MyRepr())
921
assert x ==
"я"
Callers
15
test_chained_exceptions
Method · 0.45
test_chained_exceptions_no_reprcrash
Method · 0.45
test_repr_tracebackentry_lines2
Method · 0.45
test_repr_tracebackentry_lines_var_kw_args
Method · 0.45
test_repr_excinfo_addouterr
Method · 0.45
test_toterminal_long
Method · 0.45
test_toterminal_long_missing_source
Method · 0.45
test_toterminal_long_incomplete_source
Method · 0.45
test_toterminal_long_filenames
Method · 0.45
test_format_excinfo
Method · 0.45
test_traceback_repr_style
Method · 0.45
test_exc_chain_repr
Method · 0.45
Calls
1
line
Method · 0.45
Tested by
no test coverage detected