summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/runtests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/runtests.py b/testing/runtests.py
index 64305cc..a5e82bf 100644
--- a/testing/runtests.py
+++ b/testing/runtests.py
@@ -26,7 +26,7 @@ class Tester:
return (True,'%s absent' % expected_file)
else:
diff = os.popen('diff -u %s %s' % (got_file,expected_file)).read()
- if diff and not diff.isspace():
+ if diff and not diff.startswith("No differences"):
return (True,'Difference between generated output and reference:\n%s' % diff)
return (False,'')