[issue17160] test_urllib2net fails

2014-04-23 Thread ddve...@ucar.edu

ddve...@ucar.edu added the comment:

Well, ok, thanks :-)

But I'm still wondering if it's not possible to use mocks for this test. 
or at least example.com (as in issue #20939) which is supposed to be 
more stable than python.org

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17160] test_urllib2net fails

2014-04-22 Thread Zachary Ware

Zachary Ware added the comment:

Actually, that's not quite right.  It was fixed in 2.7.6, then changes to the 
website broke it again and it has been fixed again since then.  Either way, it 
ain't broke right now ;)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17160] test_urllib2net fails

2014-04-22 Thread Zachary Ware

Zachary Ware added the comment:

This was already fixed, just not before 2.7.6 was released.

--
nosy: +zach.ware
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17160] test_urllib2net fails

2014-04-15 Thread ddve...@ucar.edu

ddve...@ucar.edu added the comment:

Reopening, since this is still broken in Python 2.7.6

I wonder why do we have to use real websites instead of mocks for this test. 
And if there are really really really really good reasons, if we can use 
example.com instead as in issue #20939 (maybe that is more stable than 
python.org)

--
status: closed -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17160] test_urllib2net fails

2013-02-14 Thread Ezio Melotti

Ezio Melotti added the comment:

See also #16969.

--
nosy: +ezio.melotti
resolution: out of date -> duplicate
superseder:  -> test_urlwithfrag fail
type:  -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17160] test_urllib2net fails

2013-02-08 Thread Ned Deily

Ned Deily added the comment:

The test is failing because of a restructuring of the docs.python.org website.  
The test was changed on 2012-10-28 to use the new URL (923ca6d73bad and 
friends).  That change will be in the next set of maintenance releases 
including 2.7.4 real soon now.

--
nosy: +ned.deily
resolution: works for me -> out of date

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17160] test_urllib2net fails

2013-02-08 Thread R. David Murray

R. David Murray added the comment:

I think only if you want to.  As far as we are concerned the test is correct 
and passing.  (And this kind of thing is the reason that that test set is only 
run when -uall is specified.)

I'm going to close the issue.  If you do investigate, and feel that you've 
found a real bug, please reopen it.

--
resolution:  -> works for me
stage:  -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17160] test_urllib2net fails

2013-02-08 Thread ddve...@ucar.edu

ddve...@ucar.edu added the comment:

Yes, it is possible, do you want me to investigate more with my network 
people?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17160] test_urllib2net fails

2013-02-08 Thread R. David Murray

R. David Murray added the comment:

It passes on all our buildbots, and for me locally.  Is it possible there is a 
proxy server between you and python.org that is changing the url returned?

--
nosy: +r.david.murray

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17160] test_urllib2net fails

2013-02-08 Thread ddve...@ucar.edu

New submission from ddve...@ucar.edu:

test_urllib2net fails as follows. Looking at test_urllib2net.py" line 165 does 
not reveal anything interesting to me

./python Lib/test/regrtest.py -uall -v test_urllib2net
== CPython 2.7.3 (default, Feb 8 2013, 08:28:21) [GCC 4.7.2]
==   Linux-2.6.32-220.13.1.el6.x86_64-x86_64-with-redhat-6.2-Santiago 
little-endian
==   /glade/scratch/ddvento/build/Python-2.7.3-westmere/build/test_python_7544
Testing with flags: sys.flags(debug=0, py3k_warning=0, division_warning=0, 
division_new=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, 
no_user_site=0, no_site=0, ignore_environment=0, tabcheck=0, verbose=0, 
unicode=0, bytes_warning=0, hash_randomization=0)
test_urllib2net
test_custom_headers (test.test_urllib2net.OtherNetworkTests) ... ok
test_file (test.test_urllib2net.OtherNetworkTests) ... ok
test_fileno (test.test_urllib2net.OtherNetworkTests) ... ok
test_ftp (test.test_urllib2net.OtherNetworkTests) ... ok
test_sites_no_connection_close (test.test_urllib2net.OtherNetworkTests) ... ok
test_urlwithfrag (test.test_urllib2net.OtherNetworkTests) ... FAIL
test_close (test.test_urllib2net.CloseSocketTest) ... ok
test_ftp_basic (test.test_urllib2net.TimeoutTest) ... ok
test_ftp_default_timeout (test.test_urllib2net.TimeoutTest) ... ok
test_ftp_no_timeout (test.test_urllib2net.TimeoutTest) ... ok
test_ftp_timeout (test.test_urllib2net.TimeoutTest) ... ok
test_http_basic (test.test_urllib2net.TimeoutTest) ... ok
test_http_default_timeout (test.test_urllib2net.TimeoutTest) ... ok
test_http_no_timeout (test.test_urllib2net.TimeoutTest) ... ok
test_http_timeout (test.test_urllib2net.TimeoutTest) ... ok

==
FAIL: test_urlwithfrag (test.test_urllib2net.OtherNetworkTests)
--
Traceback (most recent call last):
  File 
"/glade/scratch/ddvento/build/Python-2.7.3-westmere/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'

--
Ran 15 tests in 14.684s

FAILED (failures=1)
test test_urllib2net failed -- Traceback (most recent call last):
  File 
"/glade/scratch/ddvento/build/Python-2.7.3-westmere/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'

1 test failed:
test_urllib2net

--
components: Tests
messages: 181682
nosy: ddve...@ucar.edu
priority: normal
severity: normal
status: open
title: test_urllib2net fails
versions: Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com