diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3/0001-test_shutdown-skip-problematic-test.patch')
| -rw-r--r-- | meta/recipes-devtools/python/python3/0001-test_shutdown-skip-problematic-test.patch | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/meta/recipes-devtools/python/python3/0001-test_shutdown-skip-problematic-test.patch b/meta/recipes-devtools/python/python3/0001-test_shutdown-skip-problematic-test.patch index 1d4cda18b1..e8d70cdc1b 100644 --- a/meta/recipes-devtools/python/python3/0001-test_shutdown-skip-problematic-test.patch +++ b/meta/recipes-devtools/python/python3/0001-test_shutdown-skip-problematic-test.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 9d4cdbde100798ba9fa1cf3f82dbaf18fd10a543 Mon Sep 17 00:00:00 2001 | 1 | From b637ac8f58d17bc8888b2027a572c87531a4539d Mon Sep 17 00:00:00 2001 |
| 2 | From: Trevor Gamblin <tgamblin@baylibre.com> | 2 | From: Trevor Gamblin <tgamblin@baylibre.com> |
| 3 | Date: Wed, 8 May 2024 11:58:09 -0400 | 3 | Date: Wed, 8 May 2024 11:58:09 -0400 |
| 4 | Subject: [PATCH] test_shutdown: skip problematic test | 4 | Subject: [PATCH] test_shutdown: skip problematic test |
| @@ -14,7 +14,7 @@ Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> | |||
| 14 | 1 file changed, 3 insertions(+) | 14 | 1 file changed, 3 insertions(+) |
| 15 | 15 | ||
| 16 | diff --git a/Lib/test/test_concurrent_futures/test_shutdown.py b/Lib/test/test_concurrent_futures/test_shutdown.py | 16 | diff --git a/Lib/test/test_concurrent_futures/test_shutdown.py b/Lib/test/test_concurrent_futures/test_shutdown.py |
| 17 | index 7a4065afd4..6b878a48bf 100644 | 17 | index 7a4065a..6b878a4 100644 |
| 18 | --- a/Lib/test/test_concurrent_futures/test_shutdown.py | 18 | --- a/Lib/test/test_concurrent_futures/test_shutdown.py |
| 19 | +++ b/Lib/test/test_concurrent_futures/test_shutdown.py | 19 | +++ b/Lib/test/test_concurrent_futures/test_shutdown.py |
| 20 | @@ -20,6 +20,7 @@ def sleep_and_print(t, msg): | 20 | @@ -20,6 +20,7 @@ def sleep_and_print(t, msg): |
| @@ -25,7 +25,7 @@ index 7a4065afd4..6b878a48bf 100644 | |||
| 25 | class ExecutorShutdownTest: | 25 | class ExecutorShutdownTest: |
| 26 | def test_run_after_shutdown(self): | 26 | def test_run_after_shutdown(self): |
| 27 | self.executor.shutdown() | 27 | self.executor.shutdown() |
| 28 | @@ -156,6 +157,7 @@ def timeout(_signum, _frame): | 28 | @@ -156,6 +157,7 @@ class ExecutorShutdownTest: |
| 29 | signal.signal(signal.SIGALRM, old_handler) | 29 | signal.signal(signal.SIGALRM, old_handler) |
| 30 | 30 | ||
| 31 | 31 | ||
| @@ -33,7 +33,7 @@ index 7a4065afd4..6b878a48bf 100644 | |||
| 33 | class ThreadPoolShutdownTest(ThreadPoolMixin, ExecutorShutdownTest, BaseTestCase): | 33 | class ThreadPoolShutdownTest(ThreadPoolMixin, ExecutorShutdownTest, BaseTestCase): |
| 34 | def test_threads_terminate(self): | 34 | def test_threads_terminate(self): |
| 35 | def acquire_lock(lock): | 35 | def acquire_lock(lock): |
| 36 | @@ -252,6 +254,7 @@ def test_cancel_futures_wait_false(self): | 36 | @@ -252,6 +254,7 @@ class ThreadPoolShutdownTest(ThreadPoolMixin, ExecutorShutdownTest, BaseTestCase |
| 37 | self.assertIn(out.strip(), [b"apple", b""]) | 37 | self.assertIn(out.strip(), [b"apple", b""]) |
| 38 | 38 | ||
| 39 | 39 | ||
| @@ -41,6 +41,3 @@ index 7a4065afd4..6b878a48bf 100644 | |||
| 41 | class ProcessPoolShutdownTest(ExecutorShutdownTest): | 41 | class ProcessPoolShutdownTest(ExecutorShutdownTest): |
| 42 | def test_processes_terminate(self): | 42 | def test_processes_terminate(self): |
| 43 | def acquire_lock(lock): | 43 | def acquire_lock(lock): |
| 44 | -- | ||
| 45 | 2.45.0 | ||
| 46 | |||
