[Python-modules-commits] r13653 - in packages/python-djvulibre/trunk/debian (3 files)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Fri Jun 25 23:36:04 UTC 2010


    Date: Friday, June 25, 2010 @ 23:36:01
  Author: jwilk
Revision: 13653

Disable memory test that is likely to fail on 64-bit architectures.

Added:
  packages/python-djvulibre/trunk/debian/patches/disable-memory-test.diff
Modified:
  packages/python-djvulibre/trunk/debian/changelog
  packages/python-djvulibre/trunk/debian/patches/series

Modified: packages/python-djvulibre/trunk/debian/changelog
===================================================================
--- packages/python-djvulibre/trunk/debian/changelog	2010-06-25 22:45:13 UTC (rev 13652)
+++ packages/python-djvulibre/trunk/debian/changelog	2010-06-25 23:36:01 UTC (rev 13653)
@@ -1,3 +1,9 @@
+python-djvulibre (0.1.18-2) UNRELEASED; urgency=low
+
+  * Disable memory test that is likely to fail on 64-bit architectures.
+
+ -- Jakub Wilk <jwilk at debian.org>  Sat, 26 Jun 2010 00:45:15 +0200
+
 python-djvulibre (0.1.18-1) unstable; urgency=low
 
   * New upstream release.

Added: packages/python-djvulibre/trunk/debian/patches/disable-memory-test.diff
===================================================================
--- packages/python-djvulibre/trunk/debian/patches/disable-memory-test.diff	                        (rev 0)
+++ packages/python-djvulibre/trunk/debian/patches/disable-memory-test.diff	2010-06-25 23:36:01 UTC (rev 13653)
@@ -0,0 +1,18 @@
+Description: Disable memory test that is likely to fail on 64-bit architectures.
+Author: Jakub Wilk <jwilk at debian.org>
+Last-Update: 2010-06-26
+
+--- a/tests/decode.py
++++ b/tests/decode.py
+@@ -529,11 +529,6 @@
+         ...
+         ValueError: row_alignment must be a positive integer
+ 
+-        >>> page_job.render(RENDER_COLOR, (0, 0, 100000, 100000), (0, 0, 100000, 100000), PixelFormatRgb(), 8)
+-        Traceback (most recent call last):
+-        ...
+-        MemoryError: Unable to allocate 30000000000 bytes for an image memory
+-
+         >>> page_job.render(RENDER_COLOR, (0, 0, 10, 10), (0, 0, 4, 4), PixelFormatGrey(), 1)
+         '\xff\xff\xff\xff\xff\xff\xff\xef\xff\xff\xff\xa4\xff\xff\xff\xb8'
+ 

Modified: packages/python-djvulibre/trunk/debian/patches/series
===================================================================
--- packages/python-djvulibre/trunk/debian/patches/series	2010-06-25 22:45:13 UTC (rev 13652)
+++ packages/python-djvulibre/trunk/debian/patches/series	2010-06-25 23:36:01 UTC (rev 13653)
@@ -1 +1,2 @@
 setup-disable-auto-cython.diff
+disable-memory-test.diff




More information about the Python-modules-commits mailing list