MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / test_str_smallest_changed

Method test_str_smallest_changed

tests_python/test_safe_repr.py:123–126  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

121 self.assert_unchanged(value, "'" + "A" * 65536 + "'")
122
123 def test_str_smallest_changed(self):
124 value = "A" * (SafeRepr.maxstring_outer + 1)
125
126 self.assert_shortened(value, "'" + "A" * 43690 + "..." + "A" * 21845 + "'")
127
128 def test_str_list_largest_unchanged(self):
129 value = "A" * (SafeRepr.maxstring_inner)

Callers

nothing calls this directly

Calls 1

assert_shortenedMethod · 0.80

Tested by

no test coverage detected