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

Method test_start_end

rure/tests/test_matchobject.py:51–54  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

49 u'last_name': u'Reynolds'})
50
51 def test_start_end(self):
52 m = rure.search(u"remove_this", u"tony@tiremove_thisger.net")
53 self.assertEqual((m.string[:m.start()] + m.string[m.end():]).decode('utf8'),
54 u'tony@tiger.net')

Callers

nothing calls this directly

Calls 3

searchMethod · 0.80
startMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected