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

Method test_factory_hashable

tests/test_dunders.py:864–868  ·  view source on GitHub ↗

Factory is hashable.

(self)

Source from the content-addressed store, hash-verified

862 assert i is i.x
863
864 def test_factory_hashable(self):
865 """
866 Factory is hashable.
867 """
868 assert hash(Factory(None, False)) == hash(Factory(None, False))
869
870 def test_validator(self):
871 """

Callers

nothing calls this directly

Calls 1

FactoryClass · 0.90

Tested by

no test coverage detected