mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
[3.11] Trim trailing whitespace and test on CI (GH-104275) (#108215)
This commit is contained in:
parent
8e837373ed
commit
d678ee7719
24 changed files with 150 additions and 120 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue