this fails on an Ubuntu installation, running the installed tests. confirmed by a coworker. Where does the 'invalid distro' come from?
======================================================================
FAIL: test_apropos_with_bad_package (test.test_pydoc.PydocImportTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.3/test/test_pydoc.py", line 457, in test_apropos_with_bad_package
result = run_pydoc('zqwykjv', '-k', PYTHONPATH=TESTFN)
File "/usr/lib/python3.3/test/test_pydoc.py", line 219, in run_pydoc
rc, out, err = assert_python_ok('-B', pydoc.__file__, *args, **env)
File "/usr/lib/python3.3/test/script_helper.py", line 55, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/usr/lib/python3.3/test/script_helper.py", line 47, in _assert_python
"stderr follows:\n%s" % (rc, cmd_line, err.decode('ascii', 'ignore')))
AssertionError: Process return code is 2, cmd is: ['/usr/bin/python3.3dm', '-B', '/usr/lib/python3.3/pydoc.py', '-k', 'zqwykjv'], stderr follows:
invalid distro: 'Ubuntu'
Usage: pydoc.py [options]
A simple dialog based tool for basic configuration of Speech Dispatcher
and problem diagnostics.
pydoc.py: error: no such option: -k
======================================================================
FAIL: test_apropos_with_unreadable_dir (test.test_pydoc.PydocImportTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.3/test/test_pydoc.py", line 467, in test_apropos_with_unreadable_dir
result = run_pydoc('zqwykjv', '-k', PYTHONPATH=TESTFN)
File "/usr/lib/python3.3/test/test_pydoc.py", line 219, in run_pydoc
rc, out, err = assert_python_ok('-B', pydoc.__file__, *args, **env)
File "/usr/lib/python3.3/test/script_helper.py", line 55, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/usr/lib/python3.3/test/script_helper.py", line 47, in _assert_python
"stderr follows:\n%s" % (rc, cmd_line, err.decode('ascii', 'ignore')))
AssertionError: Process return code is 2, cmd is: ['/usr/bin/python3.3dm', '-B', '/usr/lib/python3.3/pydoc.py', '-k', 'zqwykjv'], stderr follows:
invalid distro: 'Ubuntu'
Usage: pydoc.py [options]
A simple dialog based tool for basic configuration of Speech Dispatcher
and problem diagnostics.
pydoc.py: error: no such option: -k
======================================================================
FAIL: test_url_requests (test.test_pydoc.PydocUrlHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.3/test/test_pydoc.py", line 560, in test_url_requests
self.assertEqual(result, title)
AssertionError: 'Pydoc: Error - search?key=pydoc' != 'Pydoc: Search Results'
- Pydoc: Error - search?key=pydoc
+ Pydoc: Search Results
|