]> 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 96b923077fb0a74caf6aea7d0b826dde127c5479..f26fb15f535cbb857cedd8cfaa4c33eed31d397c 100644 (file)
@@ -618,6 +618,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
@@ -633,6 +634,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 - '
@@ -645,7 +647,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 - '