commit | 7cb9204ee1cf204f6f507d99a60f7c5bb359eebb | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Tue Jul 02 14:50:19 2019 +0200 |
committer | GitHub <noreply@github.com> | Tue Jul 02 14:50:19 2019 +0200 |
tree | ae351690ede26e65b690c5802de6aa0a850894ee | |
parent | 039fb49c185570ab7b02f13fbdc51c859cfd831e [diff] |
bpo-37421: urllib.request tests call urlcleanup() (GH-14529) 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.