From 24da585022ecea310f142d8fd14463e91ab5243b Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Wed, 2 Mar 2022 00:57:51 +0000 Subject: [PATCH] test(win32): skip Ctrl-C test on Windows As much as I've tried, haven't been able to send a Ctrl-C. Tests fail on "ctrl-c not received". --- tests/test_concurrency.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py index 86e1fe410..0f2f5e840 100644 --- a/tests/test_concurrency.py +++ b/tests/test_concurrency.py @@ -207,6 +207,9 @@ def test_identify_closure(dsn): @pytest.mark.slow @pytest.mark.subprocess +@pytest.mark.skipif( + sys.platform == "win32", reason="don't know how to Ctrl-C on Windows" +) def test_ctrl_c(dsn): if sys.platform == "win32": sig = int(signal.CTRL_C_EVENT) -- 2.47.2