]> granicus.if.org Git - python/commitdiff
Issue #20484: Disable the 2 remaining "modules" tests in test_pydoc.
authorEric Snow <ericsnowcurrently@gmail.com>
Sat, 22 Feb 2014 20:57:08 +0000 (13:57 -0700)
committerEric Snow <ericsnowcurrently@gmail.com>
Sat, 22 Feb 2014 20:57:08 +0000 (13:57 -0700)
I'll look into re-enabling them in issue #20128.

Lib/test/test_pydoc.py

index f6aae122e0bfe82af60b44d200659e855125ffe9..81b58a2e802700f6340ea46e474325a3b902385a 100644 (file)
@@ -608,6 +608,7 @@ class PydocImportTest(PydocBaseTest):
         self.assertEqual(out.getvalue(), '')
         self.assertEqual(err.getvalue(), '')
 
+    @unittest.skip('causes undesireable side-effects (#20128)')
     def test_modules(self):
         # See Helper.listmodules().
         num_header_lines = 2
@@ -623,6 +624,7 @@ class PydocImportTest(PydocBaseTest):
 
         self.assertGreaterEqual(num_lines, expected)
 
+    @unittest.skip('causes undesireable side-effects (#20128)')
     def test_modules_search(self):
         # See Helper.listmodules().
         expected = 'pydoc - '
@@ -635,7 +637,7 @@ class PydocImportTest(PydocBaseTest):
 
         self.assertIn(expected, result)
 
-    @unittest.skip('some buildbots are not cooperating (#20123)')
+    @unittest.skip('some buildbots are not cooperating (#20128)')
     def test_modules_search_builtin(self):
         expected = 'gc - '