diff --git a/package_control/tests/test_downloaders.py b/package_control/tests/test_downloaders.py index a6900dbf..31f11ff0 100644 --- a/package_control/tests/test_downloaders.py +++ b/package_control/tests/test_downloaders.py @@ -143,13 +143,8 @@ class WgetDownloaderTests(unittest.TestCase, DownloaderTestsMixin): if hasattr(downloaders, 'OscryptoDownloader'): class OscryptoDownloaderTests(unittest.TestCase, DownloaderTestsMixin): downloader_class = downloaders.OscryptoDownloader -else: - class OscryptoDownloaderTests(unittest.TestCase): - pass + if hasattr(downloaders, 'WinINetDownloader'): class WinINetDownloaderTests(unittest.TestCase, DownloaderTestsMixin): downloader_class = downloaders.WinINetDownloader -else: - class WinINetDownloaderTests(unittest.TestCase): - pass