attrs/tests
Ryan Gabbard 3e0ecbd891 Cache hash codes (#426)
* First stab at implementing hashcode caching (#423)

Currently all existing tests pass but no cache_hash tests have yet
been added.

* Existing hash tests now pass on cache_hash classes

* Add towncrier change log

* Add documentation for cache_hash

* Fixes bug with check that init=True if cache_hash=True

* Fix long lines

* Fix documentation issues

* Add test for cache_hash requiring init

* Improve test coverage

* Remove now unnecessary 'pass'

* Add periods to the end of exception strings

* Add test docstrings for cache_hash tests

* Clarify documentation of cache_hash

* Recommend that hashable classes be frozen

* Fix test references for exception messages
2018-08-20 06:46:52 +02:00
..
__init__.py Move test helpers into an utils module 2016-08-15 15:27:13 +02:00
strategies.py Fade to Black (#392) 2018-06-10 19:40:07 +02:00
test_annotations.py Added support for keyword-only arguments on Python 3+ [rebase] (#411) 2018-08-11 06:40:01 +02:00
test_config.py Check type of set_run_validators' arg 2015-06-05 20:28:50 +02:00
test_converters.py Implement attr.converters.default_if_none (#414) 2018-07-28 16:03:41 +01:00
test_dark_magic.py Fade to Black (#392) 2018-06-10 19:40:07 +02:00
test_dunders.py Cache hash codes (#426) 2018-08-20 06:46:52 +02:00
test_filters.py Fade to Black (#392) 2018-06-10 19:40:07 +02:00
test_funcs.py Disable hypothesis.HealthCheck.too_slow globally (#396) 2018-06-17 13:32:48 +02:00
test_init_subclass.py Fade to Black (#392) 2018-06-10 19:40:07 +02:00
test_make.py Cache hash codes (#426) 2018-08-20 06:46:52 +02:00
test_slots.py Fade to Black (#392) 2018-06-10 19:40:07 +02:00
test_validators.py Fade to Black (#392) 2018-06-10 19:40:07 +02:00
typing_example.py Implement attr.converters.default_if_none (#414) 2018-07-28 16:03:41 +01:00
utils.py Cache hash codes (#426) 2018-08-20 06:46:52 +02:00