1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

fix travis

This commit is contained in:
Lu Wang 2014-11-20 02:58:08 +08:00
parent ce01364e7c
commit e03bf6ec90

View File

@ -112,7 +112,7 @@ if __name__ == '__main__':
except: except:
pass pass
else: else:
suites.append(loader.loadTestsFromModule(sys.modules[module_name])) suites.append(loader.loadTestsFromModule(module))
if len(suites) == 0: if len(suites) == 0:
print >>sys.stderr, 'No test found' print >>sys.stderr, 'No test found'