summaryrefslogtreecommitdiffstats
path: root/bindings/python/tests
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2011-02-05 17:53:53 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2011-02-05 17:53:53 +0000
commitf784ff0c8abe4e935fbb9c8d67230c55817ccac0 (patch)
treeebf9d5bb1315f448dbc4b59032c7d328d1b9abbd /bindings/python/tests
parentf498e00a30ca7fdaf4f49e778862f4cf84ffab2a (diff)
python bindings: Remove unneeded instruction
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124954 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings/python/tests')
-rw-r--r--bindings/python/tests/cindex/test_diagnostics.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/bindings/python/tests/cindex/test_diagnostics.py b/bindings/python/tests/cindex/test_diagnostics.py
index 33876cfd20..c1ff0e38ba 100644
--- a/bindings/python/tests/cindex/test_diagnostics.py
+++ b/bindings/python/tests/cindex/test_diagnostics.py
@@ -3,8 +3,6 @@ from clang.cindex import *
def tu_from_source(source):
index = Index.create()
tu = index.parse('INPUT.c', unsaved_files = [('INPUT.c', source)])
- # FIXME: Remove the need for this.
- tu.index = index
return tu
# FIXME: We need support for invalid translation units to test better.