MCPcopy Create free account
hub / github.com/python/cpython / test_forbid_empty_dawg

Method test_forbid_empty_dawg

Lib/test/test_tools/test_makeunicodedata.py:59–61  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

57 self.assertRaises(KeyError, inverse_lookup, packed, inverse, 12)
58
59 def test_forbid_empty_dawg(self):
60 dawg = Dawg()
61 self.assertRaises(ValueError, dawg.finish)
62
63 @given(char_name_db())
64 @example([("abc", "a"), ("abd", "b")])

Callers

nothing calls this directly

Calls 2

DawgClass · 0.90
assertRaisesMethod · 0.45

Tested by

no test coverage detected