◐ Shell
clean mode source ↗

bpo-37421: test_urllib calls urlcleanup() by vstinner · Pull Request #14529 · python/cpython

tirkarthi

urllib.request tests now call urlcleanup() to remove temporary files
created by urlretrieve() tests and to clear the _opener global
variable set by urlopen() and functions calling indirectly urlopen().

regrtest now checks if urllib.request._url_tempfiles and
urllib.request._opener are changed by tests.

berkerpeksag

lisroach pushed a commit to lisroach/cpython that referenced this pull request

Sep 10, 2019
urllib.request tests now call urlcleanup() to remove temporary files
created by urlretrieve() tests and to clear the _opener global
variable set by urlopen() and functions calling indirectly urlopen().

regrtest now checks if urllib.request._url_tempfiles and
urllib.request._opener are changed by tests.

DinoV pushed a commit to DinoV/cpython that referenced this pull request

Jan 14, 2020
urllib.request tests now call urlcleanup() to remove temporary files
created by urlretrieve() tests and to clear the _opener global
variable set by urlopen() and functions calling indirectly urlopen().

regrtest now checks if urllib.request._url_tempfiles and
urllib.request._opener are changed by tests.