Browse code

remove unnecessary type check

Bas Nijholt authored on 08/12/2017 17:03:22
Showing 1 changed files
... ...
@@ -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