... | ... |
@@ -161,7 +161,7 @@ class SequentialExecutor(concurrent.Executor): |
161 | 161 |
class _AsyncExecutor: |
162 | 162 |
|
163 | 163 |
def __init__(self, executor, ioloop): |
164 |
- assert isinstance(executor, (concurrent.Executor, distributed.Client)) |
|
164 |
+ assert isinstance(executor, concurrent.Executor) |
|
165 | 165 |
self.executor = executor |
166 | 166 |
self.ioloop = ioloop |
167 | 167 |
|