Codegen: remove unneeded has_description property

This commit is contained in:
Paolo Tranquilli
2023-11-24 06:00:05 +01:00
parent 9264b2a6d6
commit 2d34fec0a2
4 changed files with 0 additions and 20 deletions

View File

@@ -159,16 +159,6 @@ def test_has_doc(doc, internal, expected):
assert stub.has_qldoc is expected
def test_property_with_description():
prop = ql.Property("X", "int", description=["foo", "bar"])
assert prop.has_description is True
def test_class_without_description():
prop = ql.Property("X", "int")
assert prop.has_description is False
def test_synth_accessor_has_first_constructor_param_marked():
params = ["a", "b", "c"]
x = ql.SynthUnderlyingAccessor("foo", "bar", params)