More skipping on Python 2.

This commit is contained in:
Itamar Turner-Trauring 2021-12-17 09:14:09 -05:00
parent 81b95f3335
commit a529ba7d5e

View File

@ -36,6 +36,10 @@ class ExtractSecretsTests(TestCase):
"""
Tests for ``_extract_secrets``.
"""
def setUp(self):
if PY2:
raise SkipTest("Not going to bother supporting Python 2")
def test_extract_secrets(self):
"""
``_extract_secrets()`` returns a dictionary with the extracted secrets
@ -130,6 +134,8 @@ class RoutingTests(TestCase):
Tests for the HTTP routing infrastructure.
"""
def setUp(self):
if PY2:
raise SkipTest("Not going to bother supporting Python 2")
self._http_server = TestApp()
self.client = StorageClient(
DecodedURL.from_text("http://127.0.0.1"),