mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-07 11:50:21 +00:00
Skip on Python 2.
This commit is contained in:
parent
c2e524ddb8
commit
0fbf746e27
@ -1089,6 +1089,11 @@ class _FoolscapMixin(_SharedMixin):
|
|||||||
class _HTTPMixin(_SharedMixin):
|
class _HTTPMixin(_SharedMixin):
|
||||||
"""Run tests on the HTTP version of ``IStorageServer``."""
|
"""Run tests on the HTTP version of ``IStorageServer``."""
|
||||||
|
|
||||||
|
def setUp(self):
|
||||||
|
if PY2:
|
||||||
|
self.skipTest("Not going to bother supporting Python 2")
|
||||||
|
return _SharedMixin.setUp(self)
|
||||||
|
|
||||||
def _get_istorage_server(self):
|
def _get_istorage_server(self):
|
||||||
set_treq_pool(HTTPConnectionPool(reactor, persistent=False))
|
set_treq_pool(HTTPConnectionPool(reactor, persistent=False))
|
||||||
swissnum = b"1234"
|
swissnum = b"1234"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user