MCPcopy Create free account
hub / github.com/davidblewett/rure-python / test_compile_error

Method test_compile_error

rure/tests/test_rureset.py:43–47  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

41 self.assertTrue(res.is_match(haystack))
42
43 def test_compile_error(self):
44 try:
45 RureSet(b"(")
46 except RegexSyntaxError as err:
47 self.assertIn("unclosed group", err.message.lower())
48
49 def test_compile_error_size_limit(self):
50 try:

Callers

nothing calls this directly

Calls 2

RureSetClass · 0.90
lowerMethod · 0.80

Tested by

no test coverage detected