idella4     14/04/10 09:06:07

  Added:                nose-1.3.1-doctest.patch
  Log:
  Add patch sourced from upstream to fix failed tests under py3.3 py3.4, fixes 
Byg #507268 by eroen
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.1                  dev-python/nose/files/nose-1.3.1-doctest.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/nose/files/nose-1.3.1-doctest.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/nose/files/nose-1.3.1-doctest.patch?rev=1.1&content-type=text/plain

Index: nose-1.3.1-doctest.patch
===================================================================
https://github.com/nose-devs/nose/commit/5bcedc9a0601b4f70e2cba6c14c3046fb326bfaa.diff
diff --git a/unit_tests/test_config_defaults.rst 
b/unit_tests/test_config_defaults.rst
index 944d370..034f58e 100644
--- 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'
 
 





Reply via email to