<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - clang: python bindings, test_code_complete_availability fails"
   href="https://bugs.llvm.org/show_bug.cgi?id=38417">38417</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang: python bindings, test_code_complete_availability fails
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mgorny@gentoo.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>38406
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=20633" name="attach_20633" title="dev-python:clang-python-7.0.9999:20180802-074944.log">attachment 20633</a> <a href="attachment.cgi?id=20633&action=edit" title="dev-python:clang-python-7.0.9999:20180802-074944.log">[details]</a></span>
dev-python:clang-python-7.0.9999:20180802-074944.log

This is a regression since 6.0*.

======================================================================
FAIL: test_code_complete_availability
(tests.cindex.test_code_completion.TestCodeCompletion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/var/tmp/portage/dev-python/clang-python-7.0.9999/work/clang-python-7.0.9999/bindings/python/tests/cindex/test_code_completion.py",
line 70, in test_code_complete_availability
    self.check_completion_results(cr, expected)
  File
"/var/tmp/portage/dev-python/clang-python-7.0.9999/work/clang-python-7.0.9999/bindings/python/tests/cindex/test_code_completion.py",
line 14, in check_completion_results
    self.assertIn(c, completions)
AssertionError: "{'const', TypedText} || Priority: 40 || Availability:
Available || Brief comment: None" not found in ["{'P', TypedText} || Priority:
50 || Availability: Available || Brief comment: None", "{'Q', TypedText} ||
Priority: 50 || Availability: Available || Brief comment: None", "{'namespace',
TypedText} | {' ', HorizontalSpace} | {'name', Placeholder} | {'=', Equal} |
{'namespace', Placeholder} || Priority: 40 || Availability: Available || Brief
comment: None", "{'using', TypedText} | {' ', HorizontalSpace} | {'namespace',
Text} | {' ', HorizontalSpace} | {'identifier', Placeholder} || Priority: 40 ||
Availability: Available || Brief comment: None", "{'asm', TypedText} | {'(',
LeftParen} | {'string-literal', Placeholder} | {')', RightParen} || Priority:
40 || Availability: Available || Brief comment: None", "{'typedef', TypedText}
| {' ', HorizontalSpace} | {'type', Placeholder} | {' ', HorizontalSpace} |
{'name', Placeholder} || Priority: 40 || Availability: Available || Brief
comment: None", "{'using', TypedText} | {' ', HorizontalSpace} | {'qualifier',
Placeholder} | {'::', Text} | {'name', Placeholder} || Priority: 40 ||
Availability: Available || Brief comment: None", "{'extern', TypedText} ||
Priority: 40 || Availability: Available || Brief comment: None", "{'static',
TypedText} || Priority: 40 || Availability: Available || Brief comment: None",
"{'inline', TypedText} || Priority: 40 || Availability: Available || Brief
comment: None", "{'short', TypedText} || Priority: 50 || Availability:
Available || Brief comment: None", "{'long', TypedText} || Priority: 50 ||
Availability: Available || Brief comment: None", "{'signed', TypedText} ||
Priority: 50 || Availability: Available || Brief comment: None", "{'unsigned',
TypedText} || Priority: 50 || Availability: Available || Brief comment: None",
"{'void', TypedText} || Priority: 50 || Availability: Available || Brief
comment: None", "{'char', TypedText} || Priority: 50 || Availability: Available
|| Brief comment: None", "{'int', TypedText} || Priority: 50 || Availability:
Available || Brief comment: None", "{'float', TypedText} || Priority: 50 ||
Availability: Available || Brief comment: None", "{'double', TypedText} ||
Priority: 50 || Availability: Available || Brief comment: None", "{'enum',
TypedText} || Priority: 50 || Availability: Available || Brief comment: None",
"{'struct', TypedText} || Priority: 50 || Availability: Available || Brief
comment: None", "{'union', TypedText} || Priority: 50 || Availability:
Available || Brief comment: None", "{'const', TypedText} || Priority: 50 ||
Availability: Available || Brief comment: None", "{'volatile', TypedText} ||
Priority: 50 || Availability: Available || Brief comment: None", "{'bool',
TypedText} || Priority: 50 || Availability: Available || Brief comment: None",
"{'class', TypedText} || Priority: 50 || Availability: Available || Brief
comment: None", "{'wchar_t', TypedText} || Priority: 50 || Availability:
Available || Brief comment: None", "{'typename', TypedText} | {' ',
HorizontalSpace} | {'qualifier', Placeholder} | {'::', Text} | {'name',
Placeholder} || Priority: 40 || Availability: Available || Brief comment:
None", "{'_Nonnull', TypedText} || Priority: 50 || Availability: Available ||
Brief comment: None", "{'_Null_unspecified', TypedText} || Priority: 50 ||
Availability: Available || Brief comment: None", "{'_Nullable', TypedText} ||
Priority: 50 || Availability: Available || Brief comment: None", "{'operator',
TypedText} || Priority: 40 || Availability: Available || Brief comment: None"]

----------------------------------------------------------------------
Ran 120 tests in 1.141s

FAILED (failures=1)</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [meta] 7.0.0 Release Blockers"
   href="https://bugs.llvm.org/show_bug.cgi?id=38406">Bug 38406</a>] [meta] 7.0.0 Release Blockers
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>