diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-05-24 12:37:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-24 12:37:06 (GMT) |
commit | 719edfaf794a8c117c31f7bbe97d9afc2effbac4 (patch) | |
tree | 7bc106a8b89b1081b836daba36a5dec243e73dff | |
parent | c771cbe8f9b13d674b74d5f81ab36a5e20febb7d (diff) | |
download | cpython-719edfaf794a8c117c31f7bbe97d9afc2effbac4.zip cpython-719edfaf794a8c117c31f7bbe97d9afc2effbac4.tar.gz cpython-719edfaf794a8c117c31f7bbe97d9afc2effbac4.tar.bz2 |
GH-93112: Fix missing ResourceDenied import in test_urllib2net (GH-93113)
The code was moved out of test.support in
311110abcd8ab648dbf1803e36a8ba5d93fa019b (GH-20812), thus making
ResourceDenied undefined.
(cherry picked from commit 37c9a351b15c3fc4fcdca5dcb9ce19e51d7d2dd7)
Co-authored-by: Florian Bruhin <me@the-compiler.org>
-rw-r--r-- | Lib/test/test_urllib2net.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_urllib2net.py b/Lib/test/test_urllib2net.py index 04cfb49..5da41c3 100644 --- a/Lib/test/test_urllib2net.py +++ b/Lib/test/test_urllib2net.py @@ -3,6 +3,7 @@ import unittest from test import support from test.support import os_helper from test.support import socket_helper +from test.support import ResourceDenied from test.test_urllib2 import sanepathname2url import os |