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

Method test_no_modifications

tests/test_make.py:181–188  ·  view source on GitHub ↗

Does not attach __attrs_attrs__ to the class.

(self)

Source from the content-addressed store, hash-verified

179 """
180
181 def test_no_modifications(self):
182 """
183 Does not attach __attrs_attrs__ to the class.
184 """
185 C = make_tc()
186 _transform_attrs(C, None, False, ClassProps.KeywordOnly.NO, True, None)
187
188 assert None is getattr(C, "__attrs_attrs__", None)
189
190 def test_normal(self):
191 """

Callers

nothing calls this directly

Calls 2

_transform_attrsFunction · 0.90
make_tcFunction · 0.85

Tested by

no test coverage detected