MCPcopy Index your code
hub / github.com/docopt/docopt / test_pattern_fix_identities_1

Function test_pattern_fix_identities_1

test_docopt.py:324–329  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

322
323
324def test_pattern_fix_identities_1():
325 pattern = Required(Argument('N'), Argument('N'))
326 assert pattern.children[0] == pattern.children[1]
327 assert pattern.children[0] is not pattern.children[1]
328 pattern.fix_identities()
329 assert pattern.children[0] is pattern.children[1]
330
331
332def test_pattern_fix_identities_2():

Callers

nothing calls this directly

Calls 3

RequiredClass · 0.90
ArgumentClass · 0.90
fix_identitiesMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…