MCPcopy
hub / github.com/celery/celery / test_maxlevels

Method test_maxlevels

t/unit/utils/test_saferepr.py:141–142  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

139 assert saferepr(D_D_TEXT, 100).endswith("...', ...}}")
140
141 def test_maxlevels(self):
142 saferepr(D_ALL, maxlevels=1)
143
144 def test_recursion(self):
145 d = {1: 2, 3: {4: 5}}

Callers

nothing calls this directly

Calls 1

safereprFunction · 0.90

Tested by

no test coverage detected