[3.11] Trim trailing whitespace and test on CI (GH-104275) (#108215)

This commit is contained in:
Hugo van Kemenade 2023-08-22 12:57:31 +03:00 committed by GitHub
parent 8e837373ed
commit d678ee7719
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 150 additions and 120 deletions

View file

@ -441,7 +441,7 @@ class RunnerTests(BaseTest):
with asyncio.Runner() as runner:
with self.assertRaises(asyncio.CancelledError):
runner.run(coro())
def test_signal_install_not_supported_ok(self):
# signal.signal() can throw if the "main thread" doensn't have signals enabled
assert threading.current_thread() is threading.main_thread()