Remove import fallback of urllib2 in tests/modification-check. (#8677)

This commit is contained in:
Mads Jensen
2021-02-25 14:59:11 -08:00
committed by GitHub
parent 67c2b27af7
commit b0e35c694e
+1 -4
View File
@@ -7,11 +7,8 @@ import shutil
import subprocess
import sys
import tempfile
from urllib.request import urlretrieve
try:
from urllib.request import urlretrieve
except ImportError:
from urllib import urlretrieve
def find_repo_path():
return os.path.dirname(os.path.dirname(os.path.realpath(__file__)))