r2366 - in zope.testbrowser/trunk/debian (4 files)
arnau at users.alioth.debian.org
arnau at users.alioth.debian.org
Wed Sep 7 03:57:21 UTC 2011
Date: Wednesday, September 7, 2011 @ 03:57:19
Author: arnau
Revision: 2366
Add debian/patches/fix-inaccurate-pystones-per-second-calculation.patch
Added:
zope.testbrowser/trunk/debian/patches/
zope.testbrowser/trunk/debian/patches/fix-inaccurate-pystones-per-second-calculation.patch
zope.testbrowser/trunk/debian/patches/series
Modified:
zope.testbrowser/trunk/debian/changelog
Modified: zope.testbrowser/trunk/debian/changelog
===================================================================
--- zope.testbrowser/trunk/debian/changelog 2011-09-07 03:11:33 UTC (rev 2365)
+++ zope.testbrowser/trunk/debian/changelog 2011-09-07 03:57:19 UTC (rev 2366)
@@ -4,6 +4,7 @@
* Switch to 3.0 (quilt) source format.
* Add myself as Uploaders.
* Convert debian/copyright to DEP5 format.
+ * Add debian/patches/fix-inaccurate-pystones-per-second-calculation.patch.
[ Brian Sutherland ]
* New upstream version.
Added: zope.testbrowser/trunk/debian/patches/fix-inaccurate-pystones-per-second-calculation.patch
===================================================================
--- zope.testbrowser/trunk/debian/patches/fix-inaccurate-pystones-per-second-calculation.patch (rev 0)
+++ zope.testbrowser/trunk/debian/patches/fix-inaccurate-pystones-per-second-calculation.patch 2011-09-07 03:57:19 UTC (rev 2366)
@@ -0,0 +1,18 @@
+Author: Arnaud Fontaine <arnau at debian.org>
+Origin: other, https://launchpadlibrarian.net/78439326/fix-inaccurate-pystones-per-second-calculation.patch
+Bug: https://bugs.launchpad.net/zope.testbrowser/+bug/836371
+Description: Calculation of the number of pystones equivalent to one second is inaccurate
+
+Index: browser.py
+===================================================================
+--- a/src/zope/testbrowser/browser.py (revision 122700)
++++ b/src/zope/testbrowser/browser.py (working copy)
+@@ -123,7 +123,7 @@
+ # http://www.zope.org/Collectors/Zope/2268
+ from test import pystone
+ if self._pystones_per_second == None:
+- self._pystones_per_second = pystone.pystones(pystone.LOOPS/10)[1]
++ self._pystones_per_second = pystone.pystones()[1]
+ return self._pystones_per_second
+
+ def _getTime(self):
Added: zope.testbrowser/trunk/debian/patches/series
===================================================================
--- zope.testbrowser/trunk/debian/patches/series (rev 0)
+++ zope.testbrowser/trunk/debian/patches/series 2011-09-07 03:57:19 UTC (rev 2366)
@@ -0,0 +1 @@
+fix-inaccurate-pystones-per-second-calculation.patch
More information about the pkg-zope-developers
mailing list