8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23ae2c3 commit 5fedf71Copy full SHA for 5fedf71
Lib/distutils/command/upload.py
@@ -9,7 +9,8 @@
9
import io
10
import hashlib
11
from base64 import standard_b64encode
12
-from urllib.request import urlopen, Request, HTTPError
+from urllib.error import HTTPError
13
+from urllib.request import urlopen, Request
14
from urllib.parse import urlparse
15
from distutils.errors import DistutilsError, DistutilsOptionError
16
from distutils.core import PyPIRCCommand
Lib/distutils/tests/test_upload.py
@@ -2,7 +2,7 @@
2
import os
3
import unittest
4
import unittest.mock as mock
5
-from urllib.request import HTTPError
6
7
from test.support import run_unittest
8
0 commit comments