MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_bug_20998

Method test_bug_20998

Lib/test/test_re.py:2183–2186  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2181 (7, 9))
2182
2183 def test_bug_20998(self):
2184 # Issue #20998: Fullmatch of repeated single character pattern
2185 # with ignore case.
2186 self.assertEqual(re.fullmatch('[a-c]+', 'ABC', re.I).span(), (0, 3))
2187
2188 @unittest.expectedFailure # TODO: RUSTPYTHON; self.assertTrue(re.match(b'\xc5', b'\xe5', re.L|re.I))\n AssertionError: None is not true
2189 @unittest.skipIf(linked_to_musl(), "musl libc issue, bpo-46390")

Callers

nothing calls this directly

Calls 3

spanMethod · 0.80
fullmatchMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected