Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r232:33e45da0c853
Date: 2013-09-25 22:39 +0200
http://bitbucket.org/pypy/benchmarks/changeset/33e45da0c853/

Log:    hacked. Got this error *once*, don't want to care

diff --git a/unladen_swallow/perf.py b/unladen_swallow/perf.py
--- a/unladen_swallow/perf.py
+++ b/unladen_swallow/perf.py
@@ -676,7 +676,11 @@
         print base_times
         print "Changed:"
         print changed_times
-        raise Exception("length did not match")
+        # XXX <arigo> hacked.  Got this error *once*, don't want to care
+        print "WARNING: length did not match"
+        l = min(len(base_times), len(changed_times))
+        base_times = base_times[:l]
+        changed_times = changed_times[:l]
     if options.no_statistics:
         return RawResult(base_times, changed_times)
     if len(base_times) == 1:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to