attrs/tests
Hynek Schlawack 03d3fc7a71
Add Python 3.10 support (#763)
* Add Python 3.10 support

Python 3.10 has string types everywhere and that has unmasked a bunch of
bugs/edge cases in our code.

Especially the hooks code need a resolving helper for string types. I'm leaving
that for a separate PR.

Fixes #716

* More robust quote handling

* Use resolve_types decorator where possible

* Use a helper for __init__ annotations

* Add test for various ClassVars
2021-02-22 12:56:44 +01:00
..
__init__.py Move test helpers into an utils module 2016-08-15 15:27:13 +02:00
strategies.py __attrs_pre_init__ (#750) 2021-01-25 07:31:37 +01:00
test_annotations.py Add Python 3.10 support (#763) 2021-02-22 12:56:44 +01:00
test_config.py Check type of set_run_validators' arg 2015-06-05 20:28:50 +02:00
test_converters.py Rename converters.chain to converters.pipe 2020-07-21 14:43:09 +02:00
test_dunders.py Add Python 3.10 support (#763) 2021-02-22 12:56:44 +01:00
test_filters.py Fade to Black (#392) 2018-06-10 19:40:07 +02:00
test_funcs.py Add Python 3.10 support (#763) 2021-02-22 12:56:44 +01:00
test_functional.py Ensure objects live long enough in hash test 2020-10-16 08:35:42 +02:00
test_hooks.py Attribute.assoc → evolve 2020-10-17 07:27:36 +02:00
test_init_subclass.py Be consistent in calling slotted classes slotted 2019-02-25 16:09:57 +01:00
test_make.py Polish up #627 2021-02-22 08:59:09 +01:00
test_mypy.yml Fix mypy tests (#749) 2021-01-23 10:33:13 +01:00
test_next_gen.py Clarify next-gen auto_attribs inference rules (#742) 2020-12-30 12:53:43 +01:00
test_setattr.py Don't reset custom __setattr__ in slotted classes (#681) 2020-09-05 09:46:06 +02:00
test_slots.py Minor word smithing 2021-01-11 07:46:30 +01:00
test_validators.py Make `zope` a semi-optional test dependency (#685) 2020-09-03 06:56:17 +02:00
test_version_info.py Rename _version.py into _version_info.py 2019-10-02 16:12:03 +02:00
typing_example.py Add forgotten Attribute.evolve to stub 2021-01-29 11:09:02 +01:00
utils.py Fix attribute collection (#635) 2020-04-06 11:41:52 +02:00