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

Method test_success

tests/test_validators.py:1103–1108  ·  view source on GitHub ↗

Nothing happens if classes match.

(self)

Source from the content-addressed store, hash-verified

1101 """
1102
1103 def test_success(self):
1104 """
1105 Nothing happens if classes match.
1106 """
1107 v = _subclass_of(int)
1108 v(None, simple_attr("test"), int)
1109
1110 def test_subclass(self):
1111 """

Callers

nothing calls this directly

Calls 2

_subclass_ofFunction · 0.90
simple_attrFunction · 0.85

Tested by

no test coverage detected