summaryrefslogtreecommitdiff
path: root/tests/unittest_protocols.py
Commit message (Collapse)AuthorAgeFilesLines
* Bump astroid to 2.6.3, update changelogv2.6.3Pierre Sassoulas2021-07-191-0/+1
|
* Don't infer MatchAs in assigned_stmts if pattern is not None (#1096)Marc Mueller2021-07-111-59/+66
| | | | * Move protocol match tests to separate class * Don't infer MatchAs in assigned_stmts if pattern is not None
* Fix issues when inferring match variables (#1093)Marc Mueller2021-07-101-1/+69
| | | | | | | * Fix issues when inferring match variables * Fix extract_node for MatchCase * Typing improvements * Fix pylint issues (no-name-in-module) * Use PY310_PLUS instead of sys.version_info
* Fix copyright links (#1084)Marc Mueller2021-07-011-1/+1
| | | | * Fix link in license header * Fix link to cpython
* Rename non obvious PY3X constant to PY3X_PLUSPierre Sassoulas2021-06-211-2/+2
| | | | See https://github.com/PyCQA/astroid/pull/1069\#issuecomment-865206120
* Rename astroid.constants to astroid.constPierre Sassoulas2021-06-191-1/+1
| | | | See https://github.com/PyCQA/astroid/pull/1045\#discussion_r654572722
* Create a astroid.constants.py to avoid circular importsPierre Sassoulas2021-06-171-4/+2
| | | | And add PY3X type constants in it.
* Import exceptions from astroid.exceptions to avoid circular importsPierre Sassoulas2021-06-151-1/+2
|
* Add an isort configuration in setup.cfg and apply itPierre Sassoulas2021-04-191-5/+2
| | | | Except on astroid/__init__.py because of circular imports
* Fix issue #891Pierre Sassoulas2021-04-101-1/+1
| | | | Remove outdated COPYING and rename COPYING.LESSER
* Upgrade copyrite noticePierre Sassoulas2021-02-281-1/+2
|
* Move from % syntax to format or f-stringsPierre Sassoulas2021-02-211-2/+2
| | | | This is possible with python 3.6
* Remove the # coding, since PEP3120 the default is UTF8Pierre Sassoulas2021-02-211-1/+0
|
* Update copyright noticehippo912021-02-151-0/+2
|
* Remove required_version for 3.6 and belowDavid Gilman2020-12-301-6/+0
| | | | We are now guaranteed to be running on 3.6+
* New copyright noticeshippo912020-12-271-1/+1
|
* Add missing copyright annotations for the past releasesClaudiu Popa2020-04-271-1/+2
|
* Moved tests out of package directory (#704)Ashley Whetter2019-10-151-0/+277