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

Method test_compile_error

rure/tests/test_rure.py:123–127  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

121 self.assertTrue(re.is_match(haystack))
122
123 def test_compile_error(self):
124 try:
125 Rure(b"(")
126 except RegexSyntaxError as err:
127 self.assertIn("unclosed group", err.message.lower())
128
129 def test_compile_error_size_limit(self):
130 try:

Callers

nothing calls this directly

Calls 2

RureClass · 0.90
lowerMethod · 0.80

Tested by

no test coverage detected