[Python-modules-commits] r28233 - in packages/nose/trunk/debian (3 files)

mitya57-guest at users.alioth.debian.org mitya57-guest at users.alioth.debian.org
Tue Mar 18 14:14:33 UTC 2014


    Date: Tuesday, March 18, 2014 @ 14:14:32
  Author: mitya57-guest
Revision: 28233

Add d/patches/issue782 to fix test failure (closes: #741750).

Added:
  packages/nose/trunk/debian/patches/issue782
Modified:
  packages/nose/trunk/debian/changelog
  packages/nose/trunk/debian/patches/series

Modified: packages/nose/trunk/debian/changelog
===================================================================
--- packages/nose/trunk/debian/changelog	2014-03-18 08:34:10 UTC (rev 28232)
+++ packages/nose/trunk/debian/changelog	2014-03-18 14:14:32 UTC (rev 28233)
@@ -3,11 +3,12 @@
   * Team upload.
   * New upstream release.
   * Drop d/patches/issue759, applied in the new version.
+  * Add d/patches/issue782 to fix test failure (closes: #741750).
   * Disable one more unstable test.
   * Remove unit_tests/support/doctest/noname_wrapped.not_pyc in
     clean target.
 
- -- Dmitry Shachnev <mitya57 at gmail.com>  Fri, 14 Mar 2014 09:56:31 +0400
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Tue, 18 Mar 2014 18:13:53 +0400
 
 nose (1.3.0-3) unstable; urgency=medium
 

Added: packages/nose/trunk/debian/patches/issue782
===================================================================
--- packages/nose/trunk/debian/patches/issue782	                        (rev 0)
+++ packages/nose/trunk/debian/patches/issue782	2014-03-18 14:14:32 UTC (rev 28233)
@@ -0,0 +1,47 @@
+Description: Make doctest work with new configparser versions
+Author: Dmitry Shachnev <mitya57 at gmail.com>
+Bug: https://github.com/nose-devs/nose/issues/782
+Bug-Debian: https://bugs.debian.org/741750
+Forwarded: yes, https://github.com/nose-devs/nose/pull/784
+
+--- a/unit_tests/test_config_defaults.rst
++++ b/unit_tests/test_config_defaults.rst
+@@ -89,9 +89,9 @@ Invalid config files
+ 
+ (file-like object)
+ 
+-    >>> options, args = parse([], StringIO("spam"))
++    >>> options, args = parse([], StringIO("spam")) # doctest: +ELLIPSIS
+     error: Error reading config file '<???>': File contains no section headers.
+-    file: <???>, line: 1
++    file: ...<???>..., line: 1
+     'spam'
+ 
+ (filename)
+@@ -99,7 +99,7 @@ Invalid config files
+     >>> options, args = parse([], os.path.join(support, "invalid.cfg"))
+     ... # doctest: +ELLIPSIS
+     error: Error reading config file '...invalid.cfg': File contains no section headers.
+-    file: ...invalid.cfg, line: 1
++    file: ...invalid.cfg..., line: 1
+     'spam\n'
+ 
+ (filenames, length == 1)
+@@ -107,7 +107,7 @@ Invalid config files
+     >>> options, args = parse([], [os.path.join(support, "invalid.cfg")])
+     ... # doctest: +ELLIPSIS
+     error: Error reading config file '...invalid.cfg': File contains no section headers.
+-    file: ...invalid.cfg, line: 1
++    file: ...invalid.cfg..., line: 1
+     'spam\n'
+ 
+ (filenames, length > 1)
+@@ -120,7 +120,7 @@ file is bad
+     ...                            os.path.join(support, "b.cfg")])
+     ... # doctest: +ELLIPSIS
+     error: Error reading config file '...invalid.cfg': File contains no section headers.
+-    file: ...invalid.cfg, line: 1
++    file: ...invalid.cfg..., line: 1
+     'spam\n'
+ 
+ 

Modified: packages/nose/trunk/debian/patches/series
===================================================================
--- packages/nose/trunk/debian/patches/series	2014-03-18 08:34:10 UTC (rev 28232)
+++ packages/nose/trunk/debian/patches/series	2014-03-18 14:14:32 UTC (rev 28233)
@@ -2,3 +2,4 @@
 no-google-analytics
 no-distribute_setup
 disable-unstable-tests
+issue782




More information about the Python-modules-commits mailing list