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

Method regex_search

Lib/test/test_regrtest.py:592–596  ·  view source on GitHub ↗
(self, regex, output)

Source from the content-addressed store, hash-verified

590 return name
591
592 def regex_search(self, regex, output):
593 match = re.search(regex, output, re.MULTILINE)
594 if not match:
595 self.fail("%r not found in %r" % (regex, output))
596 return match
597
598 def check_line(self, output, pattern, full=False, regex=True):
599 if not regex:

Callers 2

parse_random_seedMethod · 0.95
test_randomMethod · 0.80

Calls 2

failMethod · 0.95
searchMethod · 0.45

Tested by

no test coverage detected