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

Method test_empty

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

Source from the content-addressed store, hash-verified

392 self.assert_shortened_regex(d3, r"{'a+\.\.\.a+': {'a+\.\.\.a+': {'a+\.\.\.a+': 'a+\.\.\.a+'}}}") # noqa
393
394 def test_empty(self):
395 # Ensure empty dicts work
396 self.assert_unchanged({}, "{}")
397
398 def test_sorted(self):
399 # Ensure dict keys are sorted

Callers

nothing calls this directly

Calls 1

assert_unchangedMethod · 0.80

Tested by

no test coverage detected