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

Method test_attr_args

tests/test_make.py:1382–1388  ·  view source on GitHub ↗

attributes_arguments are passed to attributes

(self)

Source from the content-addressed store, hash-verified

1380 assert C1.__attrs_attrs__ == C2.__attrs_attrs__
1381
1382 def test_attr_args(self):
1383 """
1384 attributes_arguments are passed to attributes
1385 """
1386 C = make_class("C", ["x"], repr=False)
1387
1388 assert repr(C(1)).startswith("<tests.test_make.C object at 0x")
1389
1390 def test_normalized_unicode_attr_args(self):
1391 """

Callers

nothing calls this directly

Calls 2

make_classFunction · 0.90
CClass · 0.70

Tested by

no test coverage detected