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

Method test_repr

tests/test_validators.py:1020–1024  ·  view source on GitHub ↗

__repr__ is meaningful.

(self)

Source from the content-addressed store, hash-verified

1018 Tester(value)
1019
1020 def test_repr(self):
1021 """
1022 __repr__ is meaningful.
1023 """
1024 assert repr(max_len(23)) == "<max_len validator for 23>"
1025
1026
1027class TestMinLen:

Callers

nothing calls this directly

Calls 1

max_lenFunction · 0.90

Tested by

no test coverage detected