Skip to content

Commit f37c959

Browse files
committed
lint
1 parent 805c7cb commit f37c959

3 files changed

Lines changed: 3 additions & 7 deletions

File tree

effect/async.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,3 @@ def fail(index, result):
3838
effect.on(
3939
success=partial(succeed, index),
4040
error=partial(fail, index)))
41-
42-

effect/test_async.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from __future__ import print_function
22

3-
from testtools.matchers import raises
43
from testtools.testcase import TestCase
54

65
from characteristic import attributes
@@ -13,12 +12,12 @@
1312
from .async import perform_parallel_async
1413
from .test_base import func_dispatcher
1514

15+
1616
@attributes(['message'])
1717
class EquitableException(Exception):
1818
pass
1919

2020

21-
2221
class PerformParallelAsyncTests(TestCase):
2322

2423
def setUp(self):
@@ -65,8 +64,8 @@ def test_error(self):
6564

6665
def test_error_index(self):
6766
"""
68-
The ``index`` of a :obj:`FirstError` is the index of the effect that failed
69-
in the list.
67+
The ``index`` of a :obj:`FirstError` is the index of the effect that
68+
failed in the list.
7069
"""
7170
try:
7271
sync_perform(

effect/test_intents.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ def test_perform_func(self):
5151
class ParallelTests(TestCase):
5252
"""Tests for :func:`parallel`."""
5353

54-
5554
def test_first_error_str(self):
5655
"""FirstErrors have a pleasing format."""
5756
fe = FirstError(exception=ValueError('foo'), index=150)

0 commit comments

Comments
 (0)