| __init__.py |
|
31 |
| attr_import_star.py |
|
249 |
| dataclass_transform_example.py |
|
890 |
| strategies.py |
Testing strategies for Hypothesis-based tests.
|
6228 |
| test_3rd_party.py |
Tests for compatibility against other Python modules.
|
694 |
| test_abc.py |
If an attrs class implements an abstract method, it stops being
abstract.
|
1618 |
| test_annotations.py |
Tests for PEP-526 type annotations.
|
18160 |
| test_cmp.py |
Tests for methods from `attrib._cmp`.
|
14936 |
| test_compat.py |
Ensure properties of metadata proxy independently of hypothesis strategies.
|
1657 |
| test_config.py |
Tests for `attr._config`.
|
1123 |
| test_converters.py |
Tests for `attr.converters`.
|
3969 |
| test_dunders.py |
Tests for dunder methods from `attrib._make`.
|
27743 |
| test_filters.py |
Tests for `attr.filters`.
|
2897 |
| test_funcs.py |
Tests for `attr._funcs`.
|
23751 |
| test_functional.py |
End-to-end tests.
|
18911 |
| test_hooks.py |
Tests for `attrs(tranform_value_serializer=func)`
|
6122 |
| test_import.py |
import * from attr
|
347 |
| test_init_subclass.py |
Tests for `__init_subclass__` related functionality.
|
1368 |
| test_make.py |
Tests for `attr._make`.
|
67735 |
| test_mypy.yml |
|
41187 |
| test_next_gen.py |
Integration tests for next-generation APIs.
|
11224 |
| test_packaging.py |
__title__ returns attrs.
|
3578 |
| test_pattern_matching.py |
Pattern matching syntax test cases.
|
2296 |
| test_pyright.py |
The typing.dataclass_transform decorator allows pyright to determine
attrs decorated class types.
|
3248 |
| test_setattr.py |
The return value of a hook overwrites the value. But they are not run
on __init__.
|
11122 |
| test_slots.py |
Unit tests for slots-related functionality.
|
26614 |
| test_utils.py |
Tests for the testing helper function `make_class`.
|
440 |
| test_validators.py |
Tests for `attr.validators`.
|
35602 |
| test_version_info.py |
If there is no suffix, the releaselevel becomes "final" by default.
|
1465 |
| typing_example.py |
|
9055 |
| utils.py |
Common helper functions for tests.
|
1228 |