MCPcopy
hub / github.com/django/django / test_empty

Method test_empty

tests/utils_tests/test_regex_helper.py:9–13  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

7
8class NormalizeTests(unittest.TestCase):
9 def test_empty(self):
10 pattern = r""
11 expected = [("", [])]
12 result = regex_helper.normalize(pattern)
13 self.assertEqual(result, expected)
14
15 def test_escape(self):
16 pattern = r"\\\^\$\.\|\?\*\+\(\)\["

Callers

nothing calls this directly

Calls 1

normalizeMethod · 0.45

Tested by

no test coverage detected