[Python-modules-commits] r17001 - in packages/pyke/trunk/debian (3 files)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Wed May 11 01:14:38 UTC 2011


    Date: Wednesday, May 11, 2011 @ 01:14:30
  Author: eriol-guest
Revision: 17001

Added a patch to disable a hardcoded path in doctest

Added:
  packages/pyke/trunk/debian/patches/
  packages/pyke/trunk/debian/patches/01-disable-hardcoded-path-in-doctest.patch
  packages/pyke/trunk/debian/patches/series

Added: packages/pyke/trunk/debian/patches/01-disable-hardcoded-path-in-doctest.patch
===================================================================
--- packages/pyke/trunk/debian/patches/01-disable-hardcoded-path-in-doctest.patch	                        (rev 0)
+++ packages/pyke/trunk/debian/patches/01-disable-hardcoded-path-in-doctest.patch	2011-05-11 01:14:30 UTC (rev 17001)
@@ -0,0 +1,11 @@
+--- a/pyke/special.py
++++ b/pyke/special.py
+@@ -100,7 +100,7 @@
+         >>> cwd = os.getcwd() + '\n'
+         >>> out == cwd
+         True
+-        >>> run_cmd(None, pattern.pattern_literal(('pwd',)),
++        >>> run_cmd(None, pattern.pattern_literal(('pwd',)), # doctest: +SKIP
+         ...         pattern.pattern_literal('/home/bruce'))
+         (0, '/home/bruce\n', '')
+     '''

Added: packages/pyke/trunk/debian/patches/series
===================================================================
--- packages/pyke/trunk/debian/patches/series	                        (rev 0)
+++ packages/pyke/trunk/debian/patches/series	2011-05-11 01:14:30 UTC (rev 17001)
@@ -0,0 +1 @@
+01-disable-hardcoded-path-in-doctest.patch




More information about the Python-modules-commits mailing list