MCPcopy Create free account
hub / github.com/FastLED/FastLED / test_except_exception

Method test_except_exception

tests/test_keyboard_interrupt_checker.py:61–68  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

59 assert "KBI001" in self._codes(code)
60
61 def test_except_exception(self) -> None:
62 code = """\
63try:
64 pass
65except Exception:
66 pass
67"""
68 assert "KBI001" in self._codes(code)
69
70 def test_except_base_exception(self) -> None:
71 code = """\

Callers

nothing calls this directly

Calls 1

_codesMethod · 0.95

Tested by

no test coverage detected