From a529ba7d5ea84c2b9f4cef48f6e5ef778cb5fbbc Mon Sep 17 00:00:00 2001 From: Itamar Turner-Trauring Date: Fri, 17 Dec 2021 09:14:09 -0500 Subject: [PATCH] More skipping on Python 2. --- src/allmydata/test/test_storage_http.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/allmydata/test/test_storage_http.py b/src/allmydata/test/test_storage_http.py index 16420b266..aba33fad3 100644 --- a/src/allmydata/test/test_storage_http.py +++ b/src/allmydata/test/test_storage_http.py @@ -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"),