From 519340869c65f2072d83a891a3d0dbebe6eb1404 Mon Sep 17 00:00:00 2001 From: Bert JW Regeer Date: Sun, 16 Jan 2022 21:57:33 -0700 Subject: [PATCH] black: Fix whitespace --- src/waitress/trigger.py | 1 - tests/test_wasyncore.py | 1 - 2 files changed, 2 deletions(-) diff --git a/src/waitress/trigger.py b/src/waitress/trigger.py index 24c4d0d6..3b1ad460 100644 --- a/src/waitress/trigger.py +++ b/src/waitress/trigger.py @@ -131,7 +131,6 @@ def _close(self): def _physical_pull(self): os.write(self.trigger, b"x") - else: # pragma: no cover # Windows version; uses just sockets, because a pipe isn't select'able # on Windows. diff --git a/tests/test_wasyncore.py b/tests/test_wasyncore.py index 9f075e52..af9c3e55 100644 --- a/tests/test_wasyncore.py +++ b/tests/test_wasyncore.py @@ -405,7 +405,6 @@ def _waitfor(func, pathname, waitall=False): def _unlink(filename): _waitfor(os.unlink, filename) - else: _unlink = os.unlink