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

Method test_directly_recursive

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

Source from the content-addressed store, hash-verified

327 RIGHT = "]"
328
329 def test_directly_recursive(self):
330 value = [1, 2]
331 value.append(value)
332
333 self.assert_unchanged(value, "[1, 2, [...]]")
334
335 def test_indirectly_recursive(self):
336 value = [1, 2]

Callers

nothing calls this directly

Calls 2

assert_unchangedMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected