summaryrefslogtreecommitdiff
path: root/tests/scanner/annotationparser/test_parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scanner/annotationparser/test_parser.py')
-rw-r--r--tests/scanner/annotationparser/test_parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/scanner/annotationparser/test_parser.py b/tests/scanner/annotationparser/test_parser.py
index c7ff5321..99ef2c21 100644
--- a/tests/scanner/annotationparser/test_parser.py
+++ b/tests/scanner/annotationparser/test_parser.py
@@ -182,8 +182,8 @@ class TestCommentBlock(unittest.TestCase):
parsed += ' </options>\n'
parsed += ' </annotation>\n'
parsed += ' </annotations>\n'
- if param.description or param.value:
- parsed += ' <description>%s</description>\n' % (param.description or param.value, )
+ if param.description:
+ parsed += ' <description>%s</description>\n' % (param.description, )
parsed += ' </parameter>\n'
parsed += ' </parameters>\n'