Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 481588 - dev-lang/python-3.2.5-r1: fails unreliable network test
Summary: dev-lang/python-3.2.5-r1: fails unreliable network test
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-19 04:11 UTC by Patrick Lauer
Modified: 2018-04-21 21:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2013-08-19 04:11:53 UTC
======================================================================
FAIL: test_bad_address (test.test_urllib2_localnet.TestUrlopen)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.2.5-r1/work/Python-3.2.5/Lib/test/test_urllib2_localnet.py", line 539, in test_bad_address
    "http://sadflkjsasf.i.nvali.d./")
AssertionError: IOError not raised by urlopen

----------------------------------------------------------------------
Ran 18 tests in 1.056s

FAILED (failures=1)
Warning -- os.environ was modified by test_urllib2_localnet
Warning -- threading._dangling was modified by test_urllib2_localnet
test test_urllib2_localnet failed
make: *** [test] Error 1
 * ERROR: dev-lang/python-3.2.5-r1::gentoo failed (test phase):

... most ISPs "fix" such DNS queries :(
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-08-19 06:00:17 UTC
Tests aren't supposed to access the network, you know.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-04-21 21:45:29 UTC
Mass closing of bugs reported against old versions of dev-lang/python.  If the problem still occurs with the current versions (i.e. newest in each visible slot), feel free to reopen.