diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-05-24 12:32:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-24 12:32:19 (GMT) |
commit | db2b1e1830b74f5e15abc3bac3fd67e35ca39951 (patch) | |
tree | 398daa0667bc2afddae3a43bf73d3056e56bba7e | |
parent | a4bea26ee4da780b399eab8f9f7eaa1517f52d56 (diff) | |
download | cpython-db2b1e1830b74f5e15abc3bac3fd67e35ca39951.zip cpython-db2b1e1830b74f5e15abc3bac3fd67e35ca39951.tar.gz cpython-db2b1e1830b74f5e15abc3bac3fd67e35ca39951.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 aa41811..a7e7c9f 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 |