summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDieter Verfaillie <dieterv@optionexplicit.be>2013-07-25 17:25:49 +0200
committerDieter Verfaillie <dieterv@optionexplicit.be>2013-10-08 20:55:53 +0200
commit4ff3c660de64ba423659bd796fbd944b7af1913d (patch)
treec7eb4ae8ba9a6c39576052cbb459a0a2322e7031 /tests
parentb6954536f32352c0c29fe5a9a73de1018559a9c5 (diff)
downloadgobject-introspection-4ff3c660de64ba423659bd796fbd944b7af1913d.tar.gz
giscanner: give parameters their own storage class
Diffstat (limited to 'tests')
-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'