diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-01-24 21:19:57 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-01-24 21:19:57 +0000 |
commit | 942453284f8f918d79f7f28ed0af0d1ad6924380 (patch) | |
tree | c837236be4848de592956696bc0e3eaf8145ffb2 /clang/bindings/python/tests | |
parent | 322be3a46eeac9f7ab1c9840b8d36d62938ac2b2 (diff) | |
download | bcm5719-llvm-942453284f8f918d79f7f28ed0af0d1ad6924380.tar.gz bcm5719-llvm-942453284f8f918d79f7f28ed0af0d1ad6924380.zip |
cindex/Python: Convert CXString objects to regular Python strings below API.
llvm-svn: 94384
Diffstat (limited to 'clang/bindings/python/tests')
-rw-r--r-- | clang/bindings/python/tests/cindex/test_translation_unit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/bindings/python/tests/cindex/test_translation_unit.py b/clang/bindings/python/tests/cindex/test_translation_unit.py index f8d4bebc1bc..510119135bc 100644 --- a/clang/bindings/python/tests/cindex/test_translation_unit.py +++ b/clang/bindings/python/tests/cindex/test_translation_unit.py @@ -7,7 +7,7 @@ def test_spelling(): path = os.path.join(kInputsDir, 'hello.cpp') index = Index.create() tu = index.parse(path) - assert str(tu.spelling) == path + assert tu.spelling == path def test_cursor(): path = os.path.join(kInputsDir, 'hello.cpp') |