[New-bugs-announce] [issue18650] intermittent test_pydoc failure on 3.4.0a1

Ned Deily report at bugs.python.org
Sun Aug 4 00:06:03 CEST 2013


New submission from Ned Deily:

Testing the 3.4.0a1 OS X 10.6 installer on OS X 10.8, I've now seen test_pydoc fail twice when the tests are run in order but then passing when the test is automatically rerun.  I've not seen this failure previously.

/usr/local/bin/python3.4 -m test -w -uall,-largefile== CPython 3.4.0a1 (v3.4.0a1:46535f65e7f3, Aug 3 2013, 14:03:34) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
==   Darwin-12.5.0-x86_64-i386-32bit little-endian
==   /private/var/folders/42/hjgpmmxd2wbcrzh4r9vsk_6h0000gr/T/test_python_3742
Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=1)
[  1/376] test_grammar
...
[250/376] test_pyclbr
[251/376] test_pydoc
test test_pydoc failed -- Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/test/test_pydoc.py", line 624, in test_url_requests
    self.assertEqual(result, title, text)
AssertionError: 'Pydoc: Error - ' != 'Pydoc: Index of Modules'
- Pydoc: Error -
+ Pydoc: Index of Modules
 : <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Pydoc: Error - </title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="pydoc_data/_pydoc.css"></head><body bgcolor="#f0f0f8">
            <div style='float:left'>
                Python 3.4.0a1 [v3.4.0a1:46535f65e7f3, GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]<br>Darwin-12.5.0
            </div>
            <div style='float:right'>
                <div style='text-align:center'>
                  <a href="index.html">Module Index</a>
                  : <a href="topics.html">Topics</a>
                  : <a href="keywords.html">Keywords</a>
                </div>
                <div>
                    <form action="get" style='display:inline;'>
                      <input type=text name=key size=15>
                      <input type=submit value="Get">
                    </form> 
                    <form action="search" style='display:inline;'>
                      <input type=text name=key size=15>
                      <input type=submit value="Search">
                    </form>
                </div>
            </div>
            <div style="clear:both;padding-top:.5em;">
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>Error</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"> </font></td></tr></table>
    <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#bb0000">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong></strong></big></font></td></tr>

<tr><td bgcolor="#bb0000"><tt>      </tt></td><td> </td>
<td width="100%">KeyError: '/Users/pyi/Library/Python/3.4/lib/python/site-packages/setuptools-0.9.8-py3.4.egg'
</td></tr></table></div>
</body></html>

[252/376/1] test_pyexpat
...
Re-running failed tests in verbose mode
Re-running test 'test_pydoc' in verbose mode
...
test_url_requests (test.test_pydoc.PydocUrlHandlerTest) ... ok
test_keywords (test.test_pydoc.TestHelper) ... ok

----------------------------------------------------------------------
Ran 25 tests in 2.253s

OK

----------
components: Tests
messages: 194309
nosy: ned.deily
priority: normal
severity: normal
status: open
title: intermittent test_pydoc failure on 3.4.0a1
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18650>
_______________________________________


More information about the New-bugs-announce mailing list