MCPcopy Create free account
hub / github.com/pallets/werkzeug / test_debug_help

Method test_debug_help

tests/test_debug.py:211–221  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

209 assert "<th>old" in y
210
211 def test_debug_help(self):
212 old = sys.stdout
213 sys.stdout = HTMLStringO()
214 try:
215 helper([1, 2, 3])
216 x = sys.stdout.reset()
217 finally:
218 sys.stdout = old
219
220 assert "Help on list object" in x
221 assert "__delitem__" in x
222
223 def test_exc_divider_found_on_chained_exception(self):
224 @Request.application

Callers

nothing calls this directly

Calls 2

HTMLStringOClass · 0.90
resetMethod · 0.80

Tested by

no test coverage detected