[pypy-commit] extradoc extradoc: promote

hakanardo noreply at buildbot.pypy.org
Wed Jun 15 21:14:00 CEST 2011


Author: Hakan Ardo <hakan at debian.org>
Branch: extradoc
Changeset: r3691:6691a6ed3a21
Date: 2011-06-15 21:15 +0200
http://bitbucket.org/pypy/extradoc/changeset/6691a6ed3a21/

Log:	promote

diff --git a/talk/iwtc11/benchmarks/image/noborder.py b/talk/iwtc11/benchmarks/image/noborder.py
--- a/talk/iwtc11/benchmarks/image/noborder.py
+++ b/talk/iwtc11/benchmarks/image/noborder.py
@@ -78,6 +78,14 @@
         self.data[(self.width+1):(-self.width-1)].tofile(f)
 
 
+class NoBorderImagePadded640x480(NoBorderImagePadded):
+    def _idx(self, p):
+        assert self.width == 640
+        assert self.height == 480
+        assert len(self.data) == 640*(480+2)+2
+        return NoBorderImagePadded._idx(self, p)
+    
+
 class Pixel(object):
     def __init__(self, idx, image):
         self.idx = idx


More information about the pypy-commit mailing list