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

Method test_repr

tests/test_validators.py:1091–1095  ·  view source on GitHub ↗

__repr__ is meaningful.

(self)

Source from the content-addressed store, hash-verified

1089 Tester(value)
1090
1091 def test_repr(self):
1092 """
1093 __repr__ is meaningful.
1094 """
1095 assert repr(min_len(23)) == "<min_len validator for 23>"
1096
1097
1098class TestSubclassOf:

Callers

nothing calls this directly

Calls 1

min_lenFunction · 0.90

Tested by

no test coverage detected