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

Method test_bug_817234

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

Source from the content-addressed store, hash-verified

1730 self.assertIsNone(scanner.search())
1731
1732 def test_bug_817234(self):
1733 iter = re.finditer(r".*", "asdf")
1734 self.assertEqual(next(iter).span(), (0, 4))
1735 self.assertEqual(next(iter).span(), (4, 4))
1736 self.assertRaises(StopIteration, next, iter)
1737
1738 @unittest.expectedFailure # TODO: RUSTPYTHON
1739 def test_bug_6561(self):

Callers

nothing calls this directly

Calls 5

nextFunction · 0.85
finditerMethod · 0.80
spanMethod · 0.80
assertEqualMethod · 0.45
assertRaisesMethod · 0.45

Tested by

no test coverage detected