Fix test error in TestObjCCheckers.py

llvm-svn: 254744
This commit is contained in:
Todd Fiala 2015-12-04 18:40:34 +00:00
parent b1583dc67d
commit 12777837a4
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ class ObjCCheckerTestCase(TestBase):
# Make sure the call produced no NSLog stdout.
stdout = process.GetSTDOUT(100)
self.assertTrue (len(stdout) == 0)
self.assertTrue (stdout is None or (len(stdout) == 0))
# Make sure the error is helpful:
err_string = expr_error.GetCString()