attrs/tests
Łukasz Langa 7cb8c82762 Support `from typing import ClassVar` (#367)
* Support `from typing import ClassVar`

Also updated the docstring to reflect why exactly we're doing what we're doing.
The previous comment was incorrect (`typing` is already imported in
applications using annotations).

I added `t.ClassVar` as well which is the only third alternative import I found
in use for typing-related classes.

Fixes #361

* Tests, docstrings, et al.
2018-04-23 15:54:47 +02:00
..
__init__.py Move test helpers into an utils module 2016-08-15 15:27:13 +02:00
strategies.py Extract strategies into proper module (#365) 2018-04-11 00:00:57 +02:00
test_annotations.py Support `from typing import ClassVar` (#367) 2018-04-23 15:54:47 +02:00
test_config.py Check type of set_run_validators' arg 2015-06-05 20:28:50 +02:00
test_converters.py Allow optional conversion (#173) 2017-05-10 15:37:50 +02:00
test_dark_magic.py Eliminate __init__ overhead for frozen dict classes. (#336) 2018-01-29 07:35:01 +01:00
test_dunders.py return "..." rather than raising RecursionError for repr() on a cyclic object 2018-03-17 01:32:28 -07:00
test_filters.py Use isort so we can stop thinking about imports (#297) 2017-11-26 22:18:07 +01:00
test_funcs.py Extract strategies into proper module (#365) 2018-04-11 00:00:57 +02:00
test_init_subclass.py Refactor class creation (#272) 2017-10-26 12:55:34 +02:00
test_make.py Extract strategies into proper module (#365) 2018-04-11 00:00:57 +02:00
test_slots.py Use isort so we can stop thinking about imports (#297) 2017-11-26 22:18:07 +01:00
test_validators.py isort update 2018-02-05 09:03:00 +01:00
utils.py Extract strategies into proper module (#365) 2018-04-11 00:00:57 +02:00