mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 21:17:54 +00:00
Disable deadlines on 3.12
This commit is contained in:
parent
964aba9788
commit
e5e9cb2b49
@ -26,7 +26,7 @@ from typing import Union, Callable, Tuple, Iterable
|
||||
from queue import Queue
|
||||
from cbor2 import dumps
|
||||
from pycddl import ValidationError as CDDLValidationError
|
||||
from hypothesis import assume, given, strategies as st
|
||||
from hypothesis import assume, given, strategies as st, settings as hypothesis_settings
|
||||
from fixtures import Fixture, TempDir, MonkeyPatch
|
||||
from treq.testing import StubTreq
|
||||
from klein import Klein
|
||||
@ -442,6 +442,9 @@ class CustomHTTPServerTests(SyncTestCase):
|
||||
result_of(client.get_version())
|
||||
|
||||
@given(length=st.integers(min_value=1, max_value=1_000_000))
|
||||
# On Python 3.12 we're getting weird deadline issues in CI, so disabling
|
||||
# for now.
|
||||
@hypothesis_settings(deadline=None)
|
||||
def test_limited_content_fits(self, length):
|
||||
"""
|
||||
``http_client.limited_content()`` returns the body if it is less than
|
||||
|
Loading…
Reference in New Issue
Block a user