diff options
author | Emile Anclin <emile.anclin@logilab.fr> | 2010-11-15 12:11:37 +0100 |
---|---|---|
committer | Emile Anclin <emile.anclin@logilab.fr> | 2010-11-15 12:11:37 +0100 |
commit | 135b4141389138d95ad2c1a83a6a706f9758ceb6 (patch) | |
tree | 130bce997d5d6562db51f940f186f427b1779ee6 /testlib.py | |
parent | 2575a944af5839cf1bbafbdfe7f7f55478020014 (diff) | |
download | logilab-common-135b4141389138d95ad2c1a83a6a706f9758ceb6.tar.gz |
2to3 has some more usable fixers
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: |