Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #37086
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.mixmin.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'cpython': 0.05; 'importerror:': 0.05; 'skip:" 60': 0.05; 'subject:skip:t 10': 0.07; 'subject:test': 0.07; 'python': 0.09; '[])': 0.09; 'before.': 0.09; 'exist.': 0.09; 'failed:': 0.09; 'linux.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'terry': 0.09; 'bug': 0.10; './python': 0.16; 'crashed': 0.16; 'globals(),': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'skipped': 0.16; 'skips': 0.16; 'subject:failed': 0.16; 'time.)': 0.16; 'verbose=0,': 0.16; 'wrote:': 0.17; 'else,': 0.17; 'jan': 0.18; 'tests': 0.18; 'module': 0.19; 'cheers,': 0.23; 'url:bugs': 0.24; 'testing': 0.24; 'header:User-Agent:1': 0.26; '(most': 0.27; 'fixed': 0.28; 'header:X-Complaints-To:1': 0.28; 'skip:_ 10': 0.29; 'skip:( 40': 0.30; 'error': 0.30; 'url:python': 0.32; 'file': 0.32; "skip:' 20": 0.32; 'says': 0.33; '"")': 0.33; 'traceback': 0.33; 'to:addr :python-list': 0.33; 'everyone': 0.33; 'skip:d 20': 0.34; 'third': 0.34; 'expected': 0.35; 'pm,': 0.35; 'received:org': 0.36; 'url:org': 0.36; 'test': 0.36; 'subject:: ': 0.38; 'files': 0.38; 'url:docs': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'repeat': 0.62; 'skip:n 10': 0.63; 'header:Reply-To:1': 0.68; 'today.': 0.69; 'reply-to:no real name:2**0': 0.72; 'reply- to:addr:gmail.com': 0.79; '***': 0.93 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Kev Dwyer <kevin.p.dwyer@gmail.com> |
| Subject | Re: test failed: test_urlwithfrag |
| Date | Sat, 19 Jan 2013 14:07:57 +0000 |
| References | <trinity-9869b47e-c472-4bfb-99a2-3c1e2f8f6ee7-1357583191852@3capp-webde-bs08> <kcgmb2$fh5$1@ger.gmane.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="ISO-8859-1" |
| Content-Transfer-Encoding | 7Bit |
| X-Gmane-NNTP-Posting-Host | cpc4-hari14-2-0-cust605.20-2.cable.virginmedia.com |
| Mail-Copies-To | kevin.p.dwyer@gmail.com |
| User-Agent | KNode/4.7.2 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| Reply-To | kevin.p.dwyer@gmail.com |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.691.1358604490.2939.python-list@python.org> (permalink) |
| Lines | 95 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1358604490 news.xs4all.nl 6875 [2001:888:2000:d::a6]:52268 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:37086 |
Show key headers only | View raw
Terry Reedy wrote:
> On 1/7/2013 1:26 PM, Elli Lola wrote:
>
>> $ ./python -m test -v test_urlwithfrag
>>
>> == CPython 3.3.0 (default, Jan 4 2013, 23:08:00) [GCC 4.6.3]
>> == Linux-3.2.0-35-generic-pae-i686-with-debian-wheezy-sid little-endian
>> == /home/me/Programme/Python/Python-3.3.0/build/test_python_30744
>> 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/1] test_urlwithfrag
>> test test_urlwithfrag crashed -- Traceback (most recent call last):
>> File "/home/me/Programme/Python/Python-3.3.0/Lib/test/regrtest.py",
>> line 1213, in runtest_inner
>> the_package = __import__(abstest, globals(), locals(), [])
>> ImportError: No module named 'test.test_urlwithfrag'
>>
>> 1 test failed:
>> test_urlwithfrag
>
> Read the message I sent you before.
>
> (To everyone else, I already explained that the error message means
> exactly what it says and listed the test_urlxxxx files that do exist. No
> need to repeat a third time.)
>
I encountered the OP's error message while building Python 3.3 today.
$ make test
<snip>
FAIL: test_urlwithfrag (test.test_urllib2net.OtherNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/src/packages/BUILD/Python-3.3.0/Lib/test/test_urllib2net.py",
line 165, in test_urlwithfrag
"http://docs.python.org/glossary.html#glossary")
AssertionError: 'http://docs.python.org/2/glossary.html' !=
'http://docs.python.org/glossary.html#glossary'
- http://docs.python.org/2/glossary.html
? --
+ http://docs.python.org/glossary.html#glossary
? +++++++++
----------------------------------------------------------------------
Ran 15 tests in 15.307s
FAILED (failures=1, skipped=1)
test test_urllib2net failed
make: *** [test] Error 1
$ ./python -m test -v test_urllib2net
== CPython 3.3.0 (default, Jan 19 2013, 13:46:53) [GCC 4.6.2]
== Linux-3.1.10-1.16-desktop-x86_64-with-SuSE-12.1-x86_64 little-endian
== /usr/src/packages/BUILD/Python-3.3.0/build/test_python_10447
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/1] test_urllib2net
test_urllib2net skipped -- Use of the 'network' resource not enabled
1 test skipped:
test_urllib2net
Those skips are all expected on linux.
$ ./python -m test -v test_urlwithfrag
== CPython 3.3.0 (default, Jan 19 2013, 13:46:53) [GCC 4.6.2]
== Linux-3.1.10-1.16-desktop-x86_64-with-SuSE-12.1-x86_64 little-endian
== /usr/src/packages/BUILD/Python-3.3.0/build/test_python_10453
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/1] test_urlwithfrag
test test_urlwithfrag crashed -- Traceback (most recent call last):
File "/usr/src/packages/BUILD/Python-3.3.0/Lib/test/regrtest.py", line
1213, in runtest_inner
the_package = __import__(abstest, globals(), locals(), [])
ImportError: No module named 'test.test_urlwithfrag'
1 test failed:
test_urlwithfrag
The bug has been fixed - see http://bugs.python.org/issue16969
Cheers,
Kev
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: test failed: test_urlwithfrag Kev Dwyer <kevin.p.dwyer@gmail.com> - 2013-01-19 14:07 +0000
csiph-web