-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
Closed
Closed
Copy link
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
TransientResource
was moved out of test.support
in 311110a (GH-20812) by @vstinner, thus making ResourceDenied
undefined here:
cpython/Lib/test/test_urllib2net.py
Line 60 in a458be3
raise ResourceDenied("an optional resource is not available") |
I don't see how to best reproduce this, but I will open a PR with a fix.
(Found by running flake8
over Lib/
out of curiosity, see #93010 (comment))
Your environment
- CPython versions tested on: (not tested, but affects) Python 3.11.0b1, 3.10.4
- Operating system and architecture: Archlinux x86_64
Metadata
Metadata
Assignees
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error