diff --git a/tester.py b/tester.py index 933a8b6a734e6578332abaf3487c2fe803d11251..bdb2db922134e5170421a5a49cc0cc4a6cd10078 100755 --- a/tester.py +++ b/tester.py @@ -153,10 +153,18 @@ class Tester(): content = fo.read() description = '' if path.endswith('.py'): - start = content.find('\'\'\'') + start = ( + content.find('\'\'\'') + if content.find('\'\'\'') != -1 + else content.find('"""') + ) if start > 0: start += 3 - end = content.find('\'\'\'', start) + end = ( + content.find('\'\'\'', start) + if content.find('\'\'\'', start) != -1 + else content.find('"""', start) + ) if end > 0: description = content[start:end] else: