diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2014-01-05 04:56:07 (GMT) |
---|---|---|
committer | Eric Snow <ericsnowcurrently@gmail.com> | 2014-01-05 04:56:07 (GMT) |
commit | 0dddf4258ac5b543b868e63adc9879dd932a46a4 (patch) | |
tree | 543b635363f1db286d0d13f605cddbd5aefc1edf | |
parent | 410d320703313b6a303094b8355ae7cc1f0196f6 (diff) | |
download | cpython-0dddf4258ac5b543b868e63adc9879dd932a46a4.zip cpython-0dddf4258ac5b543b868e63adc9879dd932a46a4.tar.gz cpython-0dddf4258ac5b543b868e63adc9879dd932a46a4.tar.bz2 |
Issue 20123: try using a different builtin module in a pydoc test.
The test is failing on one of the stable FreeBSD buildbots. It seems
unlikely that the gc module would not be available, so switching to
_imp may not fix the problem.
-rw-r--r-- | Lib/test/test_pydoc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_pydoc.py b/Lib/test/test_pydoc.py index 7fe0644..16f7835 100644 --- a/Lib/test/test_pydoc.py +++ b/Lib/test/test_pydoc.py @@ -635,12 +635,12 @@ class PydocImportTest(PydocBaseTest): self.assertIn(expected, result) def test_modules_search_builtin(self): - expected = 'gc - ' + expected = '_imp - ' output = StringIO() helper = pydoc.Helper(output=output) with captured_stdout() as help_io: - helper('modules garbage') + helper('modules low-level') result = help_io.getvalue() self.assertTrue(result.startswith(expected)) |