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.
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))