[PATCH] D53202: [python] [tests] Remove cdb lookup failure test
Michał Górny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 12 09:57:42 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL344364: [python] [tests] Remove cdb lookup failure test (authored by mgorny, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D53202?vs=169427&id=169446#toc
Repository:
rL LLVM
https://reviews.llvm.org/D53202
Files:
cfe/trunk/bindings/python/tests/cindex/test_cdb.py
Index: cfe/trunk/bindings/python/tests/cindex/test_cdb.py
===================================================================
--- cfe/trunk/bindings/python/tests/cindex/test_cdb.py
+++ cfe/trunk/bindings/python/tests/cindex/test_cdb.py
@@ -31,11 +31,6 @@
"""Check we can load a compilation database"""
cdb = CompilationDatabase.fromDirectory(kInputsDir)
- def test_lookup_fail(self):
- """Check file lookup failure"""
- cdb = CompilationDatabase.fromDirectory(kInputsDir)
- self.assertIsNone(cdb.getCompileCommands('file_do_not_exist.cpp'))
-
def test_lookup_succeed(self):
"""Check we get some results if the file exists in the db"""
cdb = CompilationDatabase.fromDirectory(kInputsDir)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53202.169446.patch
Type: text/x-patch
Size: 754 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181012/4876220f/attachment.bin>
More information about the llvm-commits
mailing list