Skip to content

Commit

Permalink
Merge pull request #14513 from luzpaz/equality-to-none
Browse files Browse the repository at this point in the history
Fix 'testing equality to None' python issue
  • Loading branch information
marcfehling committed Dec 1, 2022
2 parents 125cb05 + 3e51949 commit 79abc20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/utilities/parse_ctest_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def parse_revision(dirname):
status = 4
if fail:
text = test.find('Results').find('Measurement').find('Value').text
if text == None:
if text is None:
text=""
failtext = text.encode('utf-8')
failtextlines = failtext.replace('"','').split('\n')
Expand Down

0 comments on commit 79abc20

Please sign in to comment.