MCPcopy
hub / github.com/python-attrs/attrs / test_is_class_var

Function test_is_class_var

tests/test_annotations.py:696–700  ·  view source on GitHub ↗

ClassVars are detected, even if they're a string or quoted.

(annot)

Source from the content-addressed store, hash-verified

694 ],
695)
696def test_is_class_var(annot):
697 """
698 ClassVars are detected, even if they're a string or quoted.
699 """
700 assert _is_class_var(annot)

Callers

nothing calls this directly

Calls 1

_is_class_varFunction · 0.90

Tested by

no test coverage detected