attrs/tests
Tin Tvrtković 4fcd15bddb
First pass over generics (#1079)
* First pass over generics

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Reformat comment

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* More work on generics

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Add test case

* Tweak condition

* Remove redundant code

* Add test

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hynek Schlawack <hs@ox.cx>
2023-02-05 13:56:45 +01:00
..
__init__.py Apply SPDX IDs 2021-12-27 09:29:09 +01:00
attr_import_star.py pre-commit autoupdate, add yesqa 2022-08-01 10:09:13 +02:00
dataclass_transform_example.py Fix @frozen typing to work on PEP-681 checkers (#1084) 2023-01-12 07:22:13 +01:00
strategies.py Drop Python 2.7 (#936) 2022-03-21 08:47:47 +01:00
test_3rd_party.py Drop Python 2.7 (#936) 2022-03-21 08:47:47 +01:00
test_abc.py Add unstable Python 3.12 to CI allowing failures (#1033) 2022-12-18 10:46:08 +00:00
test_annotations.py Replace omnipresent pytest.mark.parametrize("(slots|frozen)" w/ fixture (#1002) 2022-08-11 09:35:39 +02:00
test_cmp.py Drop Python 2.7 (#936) 2022-03-21 08:47:47 +01:00
test_compat.py Remove various obsolete _compat helpers (#941) 2022-03-21 14:03:22 +01:00
test_config.py Drop Python 2.7 (#936) 2022-03-21 08:47:47 +01:00
test_converters.py Drop Python 2.7 (#936) 2022-03-21 08:47:47 +01:00
test_dunders.py Use enum for typing NOTHING (#983) 2022-08-27 17:41:56 +02:00
test_filters.py Drop Python 2.7 (#936) 2022-03-21 08:47:47 +01:00
test_funcs.py First pass over generics (#1079) 2023-02-05 13:56:45 +01:00
test_functional.py Purge stale Python 2/3 mentions 2022-12-18 10:54:37 +01:00
test_hooks.py Add Attribute.alias (#950) 2022-11-30 14:39:57 +00:00
test_import.py Drop Python 2.7 (#936) 2022-03-21 08:47:47 +01:00
test_init_subclass.py Replace omnipresent pytest.mark.parametrize("(slots|frozen)" w/ fixture (#1002) 2022-08-11 09:35:39 +02:00
test_make.py First pass over generics (#1079) 2023-02-05 13:56:45 +01:00
test_mypy.yml Add AttrsInstance protocol to forgotten attrs.asdict and attrs.astuple (#1090) 2023-01-23 09:21:20 +00:00
test_next_gen.py Update black 2023-02-03 12:47:41 +01:00
test_packaging.py Drop 3.6 & switch to 100% static packaging configuration (#993) 2023-01-11 16:50:27 +01:00
test_pattern_matching.py Drop Python 2.7 (#936) 2022-03-21 08:47:47 +01:00
test_pyright.py Fix @frozen typing to work on PEP-681 checkers (#1084) 2023-01-12 07:22:13 +01:00
test_setattr.py Purge stale Python 2/3 mentions 2022-12-18 10:54:37 +01:00
test_slots.py Fix backward compatibility with pickles before v22.2.0 (#1085) 2023-01-25 06:58:31 +00:00
test_utils.py Make tests for simple-class actually run 2022-08-22 10:54:22 +02:00
test_validators.py Add a not_ validator (#1010) 2022-09-04 13:55:02 +02:00
test_version_info.py Drop Python 2.7 (#936) 2022-03-21 08:47:47 +01:00
typing_example.py Add unsafe_hash alias for class-wide hash (#1065) 2022-12-02 07:45:13 +01:00
utils.py Add Attribute.alias (#950) 2022-11-30 14:39:57 +00:00