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

Method test_large_nested

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

Source from the content-addressed store, hash-verified

262 self.assert_shortened(c1, c1_expect)
263
264 def test_large_nested(self):
265 c1 = self.CLASS(range(SafeRepr.maxcollection[0] * 2))
266 c1_items = range(SafeRepr.maxcollection[1] - 1)
267 c1_expect = self.combine(c1_items, large=True)
268
269 c2 = self.CLASS(c1 for _ in range(SafeRepr.maxcollection[0] * 2))
270 items = (c1_expect for _ in range(SafeRepr.maxcollection[0] - 1))
271 c2_expect = self.combine(items, large=True)
272
273 self.assert_shortened(c2, c2_expect)
274
275 # @pytest.mark.skip(reason='not written') # TODO: finish!
276 # def test_empty(self):

Callers

nothing calls this directly

Calls 2

combineMethod · 0.95
assert_shortenedMethod · 0.80

Tested by

no test coverage detected