]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/qapi-schema/test-qapi.py
qapi: Back out doc comments added just to please qapi.py
[mirror_qemu.git] / tests / qapi-schema / test-qapi.py
index b4cde4ff4fc5fc6ad1da10f1dddd98cf13c70238..ef74e2c4c82b0ad835d2d94cf446e00a4e772d23 100644 (file)
@@ -55,17 +55,3 @@ class QAPISchemaTestVisitor(QAPISchemaVisitor):
 
 schema = QAPISchema(sys.argv[1])
 schema.visit(QAPISchemaTestVisitor())
-
-for doc in schema.docs:
-    if doc.symbol:
-        print 'doc symbol=%s expr=%s' % \
-            (doc.symbol, doc.expr.items()[0])
-    else:
-        print 'doc freeform'
-    for arg, section in doc.args.iteritems():
-        print '    arg=%s\n%s' % (arg, section)
-    for section in doc.sections:
-        print '    section=%s\n%s' % (section.name, section)
-    body = str(doc.body)
-    if body:
-        print '    body=\n%s' % body