MCPcopy Index your code
hub / github.com/python-attrs/attrs / test_negative

Method test_negative

tests/test_funcs.py:542–546  ·  view source on GitHub ↗

Returns `False` on non-decorated classes.

(self)

Source from the content-addressed store, hash-verified

540 assert has(D)
541
542 def test_negative(self):
543 """
544 Returns `False` on non-decorated classes.
545 """
546 assert not has(object)
547
548 def test_generics(self):
549 """

Callers

nothing calls this directly

Calls 1

hasFunction · 0.90

Tested by

no test coverage detected