fix html validator test for python 3

This commit is contained in:
kakwa 2019-02-09 17:40:43 +01:00
parent 05aace0e9d
commit 263e6be547
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ def htmlvalidator(page):
f.close()
stdout.close()
print(out)
if not re.search(r'Error:.*', out) is None:
if not re.search(r'Error:.*', str(out)) is None:
raise HtmlValidationFailed(out)
class BadModule():