[PATCH] D34091: Support for querying the exception specification type through libclang

Michał Górny via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 26 07:43:51 PDT 2017


mgorny added a comment.

This patch has introduced a test suite failure:

  ======================================================================
  ERROR: Failure: ImportError (No module named util)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/usr/lib64/python2.7/site-packages/nose/loader.py", line 420, in loadTestsFromName
      addr.filename, addr.module)
    File "/usr/lib64/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
      return self.importFromDir(dir_path, fqname)
    File "/usr/lib64/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
      mod = load_module(part_fqname, fh, filename, desc)
    File "/usr/src/llvm/tools/clang/bindings/python/tests/test_exception_specification_kind.py", line 3, in <module>
      from .util import get_tu
  ImportError: No module named util

I presume that this patch meant to include the `util` module but you forgot to add the file. Could you fix that, please?



================
Comment at: cfe/trunk/bindings/python/tests/test_exception_specification_kind.py:3
+from clang.cindex import ExceptionSpecificationKind
+from .util import get_tu
+
----------------
It seems that the `util` module has never been committed.


Repository:
  rL LLVM

https://reviews.llvm.org/D34091





More information about the cfe-commits mailing list