mirror of
https://github.com/python/cpython.git
synced 2025-08-18 15:51:23 +00:00
GH-93112: Fix missing ResourceDenied import in test_urllib2net (GH-93113)
The code was moved out of test.support in311110abcd
(GH-20812), thus making ResourceDenied undefined. (cherry picked from commit37c9a351b1
) Co-authored-by: Florian Bruhin <me@the-compiler.org>
This commit is contained in:
parent
a4bea26ee4
commit
db2b1e1830
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@ import unittest
|
||||||
from test import support
|
from test import support
|
||||||
from test.support import os_helper
|
from test.support import os_helper
|
||||||
from test.support import socket_helper
|
from test.support import socket_helper
|
||||||
|
from test.support import ResourceDenied
|
||||||
from test.test_urllib2 import sanepathname2url
|
from test.test_urllib2 import sanepathname2url
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue