[pypy-svn] r59666 - pypy/build/benchmem/testing
xoraxax at codespeak.net
xoraxax at codespeak.net
Sun Nov 2 22:19:59 CET 2008
Author: xoraxax
Date: Sun Nov 2 22:19:58 2008
New Revision: 59666
Modified:
pypy/build/benchmem/testing/test_report_graph.py
Log:
Inherit from CommonResult.
Modified: pypy/build/benchmem/testing/test_report_graph.py
==============================================================================
--- pypy/build/benchmem/testing/test_report_graph.py (original)
+++ pypy/build/benchmem/testing/test_report_graph.py Sun Nov 2 22:19:58 2008
@@ -4,8 +4,9 @@
from report_graphic import Plotter
except RuntimeError:
py.test.skip("XXX need a display to run reporting tests")
+from runbench import CommonResult
-class MockResult(object):
+class MockResult(CommonResult):
def __init__(self, executable, snapshots=[]):
self.executable = executable
self.snapshots = snapshots
More information about the Pypy-commit
mailing list