diff options
author | Marc Mueller <30130371+cdce8p@users.noreply.github.com> | 2023-04-24 00:58:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-24 00:58:04 +0200 |
commit | 1336ee4a9b698bf501b5cda40e3524d6f5e532d5 (patch) | |
tree | 2289350c7e17a98838037438102e8bedaa2cb427 /tests/test_protocols.py | |
parent | 7fa848126c8178e78c47dff0415a1fc175b041eb (diff) | |
download | astroid-git-1336ee4a9b698bf501b5cda40e3524d6f5e532d5.tar.gz |
Remove unused constants (#2141)
* Remove `PY38_PLUS` constant
* Remove `BUILTINS` constants
* Remove `Load` + `Store` + `Del`
* Remove `BOOL_SPECIAL_METHOD`
Diffstat (limited to 'tests/test_protocols.py')
-rw-r--r-- | tests/test_protocols.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_protocols.py b/tests/test_protocols.py index 4841ae7b..d24659ba 100644 --- a/tests/test_protocols.py +++ b/tests/test_protocols.py @@ -13,7 +13,7 @@ import pytest import astroid from astroid import extract_node, nodes -from astroid.const import PY38_PLUS, PY310_PLUS +from astroid.const import PY310_PLUS from astroid.exceptions import InferenceError from astroid.manager import AstroidManager from astroid.util import Uninferable, UninferableBase @@ -280,7 +280,6 @@ class ProtocolTests(unittest.TestCase): assert parsed.inferred() == [Uninferable] -@pytest.mark.skipif(not PY38_PLUS, reason="needs assignment expressions") def test_named_expr_inference() -> None: code = """ if (a := 2) == 2: |