MCPcopy Index your code
hub / github.com/python/cpython / test_error_msg_sequence

Method test_error_msg_sequence

Lib/test/test_statistics.py:655–658  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

653 self.do_test(args)
654
655 def test_error_msg_sequence(self):
656 # Test the error message generated for sequence comparisons.
657 args = (3.75, 8.25, 1.25, 0.5, 7)
658 self.do_test(args)
659
660 def generate_substrings(self, first, second, tol, rel, idx):
661 """Return substrings we expect to see in error messages."""

Callers

nothing calls this directly

Calls 1

do_testMethod · 0.95

Tested by

no test coverage detected