diff --git a/test/test_download.py b/test/test_download.py index 92f8b7bf964..5dbf123a700 100644 --- a/test/test_download.py +++ b/test/test_download.py @@ -28,8 +28,8 @@ from youtube_dl.compat import ( compat_filter as filter, compat_http_client, - compat_map as map, compat_HTTPError, + compat_map as map, compat_open as open, compat_urllib_error, )