[New-bugs-announce] [issue10094] test_urllib.py fails in py3k r85440 with RuntimeError

Barry A. Warsaw report at bugs.python.org
Thu Oct 14 00:46:22 CEST 2010

New submission from Barry A. Warsaw <barry at python.org>:

Running the test suite on py3k r85440, I get the following failure:

ERROR: test_getproxies_environment_keep_no_proxies (__main__.ProxyTests)
Traceback (most recent call last):
  File "Lib/test/test_urllib.py", line 121, in setUp
    for k in os.environ.keys():
  File "/home/barry/projects/python/py3k/Lib/_abcoll.py", line 410, in __iter__
    for key in self._mapping:
  File "/home/barry/projects/python/py3k/Lib/os.py", line 441, in __iter__
    for key in self._data:
RuntimeError: dictionary changed size during iteration

This is consistent (i.e. fails every time) on Ubuntu 10.10 amd64.

components: Library (Lib)
messages: 118598
nosy: barry
priority: normal
severity: normal
status: open
title: test_urllib.py fails in py3k r85440 with RuntimeError
versions: Python 3.2

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list