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

Function _clear_groups

tests_python/test_debugger_json.py:2609–2621  ·  view source on GitHub ↗
(variables)

Source from the content-addressed store, hash-verified

2607
2608
2609def _clear_groups(variables):
2610 groups_found = set()
2611 new_variables = []
2612 for v in variables:
2613 if v["name"] in DAPGrouper.SCOPES_SORTED:
2614 groups_found.add(v["name"])
2615 assert not v["type"]
2616 continue
2617
2618 else:
2619 new_variables.append(v)
2620
2621 return _CleanedVars(new_variables, groups_found)
2622
2623
2624@pytest.mark.skipif(IS_JYTHON, reason="Putting unicode on frame vars does not work on Jython.")

Callers 1

Calls 2

addMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected