summaryrefslogtreecommitdiff
path: root/tests/test_inference.py
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2023-04-25 19:50:46 +0200
committerGitHub <noreply@github.com>2023-04-25 19:50:46 +0200
commit310b62ad450527859a8b59c385aeca35663560fb (patch)
tree8c8eb9a7366a0327ade4af9e83c7309b77f9f6cc /tests/test_inference.py
parent08ed4136d83ba88d1e605e4afad71a5420396eec (diff)
downloadastroid-git-310b62ad450527859a8b59c385aeca35663560fb.tar.gz
Remove deprecated doc attribute (#2154)
Diffstat (limited to 'tests/test_inference.py')
-rw-r--r--tests/test_inference.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/test_inference.py b/tests/test_inference.py
index cdb61918..3de2c17b 100644
--- a/tests/test_inference.py
+++ b/tests/test_inference.py
@@ -6440,9 +6440,6 @@ def test_property_docstring() -> None:
assert isinstance(inferred, objects.Property)
assert isinstance(inferred.doc_node, nodes.Const)
assert inferred.doc_node.value == "Docstring"
- with pytest.warns(DeprecationWarning) as records:
- assert inferred.doc == "Docstring"
- assert len(records) == 1
def test_recursion_error_inferring_builtin_containers() -> None: