Skip to content

Commit 0580654

Browse files
committed
fix flake8
1 parent 91437ba commit 0580654

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/test_fs_event.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ class Test_UV_FS_Event(tb.UVTestCase):
1111
def setUp(self):
1212
super().setUp()
1313
self.exit_stack = contextlib.ExitStack()
14-
self.tmp_dir = self.exit_stack.enter_context(tempfile.TemporaryDirectory())
14+
self.tmp_dir = self.exit_stack.enter_context(
15+
tempfile.TemporaryDirectory()
16+
)
1517

1618
def tearDown(self):
1719
self.exit_stack.close()
@@ -43,7 +45,9 @@ def event_cb(ev_fname: bytes, evt: FileSystemEvent):
4345
q.put_nowait(None)
4446

4547
h = self.loop._monitor_fs(path, event_cb)
46-
self.loop.run_until_complete(asyncio.sleep(0.1)) # let monitor start
48+
self.loop.run_until_complete(
49+
asyncio.sleep(0.1) # let monitor start
50+
)
4751
self.assertFalse(h.cancelled())
4852

4953
self.loop.run_until_complete(asyncio.wait_for(file_writer(), 4))

0 commit comments

Comments
 (0)