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

Method test_hash

tests/test_version_info.py:59–63  ·  view source on GitHub ↗

Same values, same hash.

(self, vi)

Source from the content-addressed store, hash-verified

57 assert vi < (19, 2, 0, "post1")
58
59 def test_hash(self, vi):
60 """
61 Same values, same hash.
62 """
63 assert hash(vi) == hash(VersionInfo(19, 2, 0, "final"))

Callers

nothing calls this directly

Calls 1

VersionInfoClass · 0.90

Tested by

no test coverage detected