diff options
Diffstat (limited to 'testlib.py')
-rw-r--r-- | testlib.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -177,7 +177,7 @@ def run_tests(tests, quiet, verbose, runner=None, capture=0): print '-'*80 print "Executing", test result = run_test(test, verbose, runner, capture) - if type(result) is type(''): + if isinstance(result, str): # an unexpected error occurred skipped.append( (test, result)) else: |