Skip to content

Commit 1220b7c

Browse files
committed
Remove IOLoop.clear_instance from utils_test.py
https://www.tornadoweb.org/en/stable/ioloop.html#tornado.ioloop.IOLoop.clear_instance clear_instance is now an alias for clear_current and has been deprecated since Tornado 5.0
1 parent 53cf185 commit 1220b7c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

streamz/utils_test.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,13 @@ def double(x):
4343

4444
@contextmanager
4545
def pristine_loop():
46-
IOLoop.clear_instance()
4746
IOLoop.clear_current()
4847
loop = IOLoop()
4948
loop.make_current()
5049
try:
5150
yield loop
5251
finally:
5352
loop.close(all_fds=True)
54-
IOLoop.clear_instance()
5553
IOLoop.clear_current()
5654

5755

0 commit comments

Comments
 (0)