forked from OSchip/llvm-project
[Python3] Fix TestObjCMethods.py to work with py2 and 3.
llvm-svn: 354286
This commit is contained in:
parent
b04fe71592
commit
9144aa38ed
|
@ -317,7 +317,7 @@ class FoundationTestCase(TestBase):
|
|||
lines = f.readlines()
|
||||
num_errors = 0
|
||||
for line in lines:
|
||||
if string.find(line, "$__lldb") != -1:
|
||||
if "$__lldb" in line:
|
||||
if num_errors == 0:
|
||||
print(
|
||||
"error: found spurious name lookups when evaluating an expression:")
|
||||
|
|
Loading…
Reference in New Issue