summaryrefslogtreecommitdiffstats
path: root/clang/bindings/python/tests
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2017-10-21 21:52:48 +0000
committerAaron Ballman <aaron@aaronballman.com>2017-10-21 21:52:48 +0000
commit5b4f81ec14cd6d656514806f2a6b3b5e46d70103 (patch)
tree6dc28ee11951a1d3841b106c3dc13ff3348b912c /clang/bindings/python/tests
parent5b3fa2cd99ddc4483a7430e391f9505cc9865ce7 (diff)
downloadbcm5719-llvm-5b4f81ec14cd6d656514806f2a6b3b5e46d70103.tar.gz
bcm5719-llvm-5b4f81ec14cd6d656514806f2a6b3b5e46d70103.zip
Reverting r316278 due to failing build bots.
http://lab.llvm.org:8011/builders/clang-ppc64be-linux/builds/11896 http://lab.llvm.org:8011/builders/clang-s390x-linux/builds/12380 llvm-svn: 316279
Diffstat (limited to 'clang/bindings/python/tests')
-rw-r--r--clang/bindings/python/tests/cindex/test_location.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/bindings/python/tests/cindex/test_location.py b/clang/bindings/python/tests/cindex/test_location.py
index d6875330ec6..9e9ef487af1 100644
--- a/clang/bindings/python/tests/cindex/test_location.py
+++ b/clang/bindings/python/tests/cindex/test_location.py
@@ -93,10 +93,3 @@ def test_extent():
location3 = SourceLocation.from_position(tu, file, 1, 6)
range3 = SourceRange.from_locations(location1, location3)
assert range1 != range3
-
-def test_spelling_location():
- tu = get_tu('''#define ONE int one
-ONE;''')
- one = get_cursor(tu, 'one')
- assert one.location.spelling.line == 1
- assert one.location.expansion.line == 2
OpenPOWER on IntegriCloud