Skip to content

Commit 11432e5

Browse files
committed
clean whitespace
1 parent e3844cf commit 11432e5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/transport/aio/test_requests.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,13 @@ class TestTimeoutGuard(object):
3333
def make_timeout_guard(self, timeout):
3434
return requests_aio.timeout_guard(timeout)
3535

36-
3736
@pytest.mark.asyncio
3837
async def test_timeout_with_single_async_task_within_bounds(self, simple_async_task):
3938
async with self.make_timeout_guard(timeout=0.2) as with_timeout:
4039
task = await with_timeout(simple_async_task)
4140

4241
# Task succeeds.
4342
assert task is True
44-
4543

4644
@pytest.mark.asyncio
4745
async def test_timeout_with_single_async_task_out_of_bounds(self, simple_async_task):
@@ -54,7 +52,6 @@ async def test_timeout_with_single_async_task_out_of_bounds(self, simple_async_t
5452
assert task is True
5553
assert exc.match("Context manager exceeded the configured timeout of 0.1s.")
5654

57-
5855
@pytest.mark.asyncio
5956
async def test_timeout_with_multiple_async_tasks_within_bounds(self, simple_async_task, long_running_async_task):
6057
async with self.make_timeout_guard(timeout=0.5) as with_timeout:
@@ -66,7 +63,6 @@ async def test_timeout_with_multiple_async_tasks_within_bounds(self, simple_asyn
6663
assert task_1 is True
6764
assert task_2 is True
6865

69-
7066
@pytest.mark.asyncio
7167
async def test_timeout_with_multiple_async_tasks_out_of_bounds(self, simple_async_task, long_running_async_task):
7268

@@ -82,8 +78,6 @@ async def test_timeout_with_multiple_async_tasks_out_of_bounds(self, simple_asyn
8278
assert task_2 is True
8379
assert exc.match("Context manager exceeded the configured timeout of 0.4s.")
8480

85-
86-
8781
@pytest.mark.asyncio
8882
async def test_timeout_with_async_task_timing_out_before_context(self, simple_async_task):
8983

0 commit comments

Comments
 (0)