mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 15:25:54 -04:00
tests: Skip test_task_cancel_waiting() test if no threads enabled
This commit is contained in:
parent
a63bbba4c1
commit
2e21cf87e4
@ -174,6 +174,8 @@ def test_task_cancel_during_run():
|
||||
task.result()
|
||||
|
||||
|
||||
@pytest.mark.skipif(not core.Thread.is_threading_supported(),
|
||||
reason="Threading support disabled")
|
||||
def test_task_cancel_waiting():
|
||||
# Calling result() in a threaded task chain should cancel the future being
|
||||
# waited on if the surrounding task is cancelled.
|
||||
|
Loading…
x
Reference in New Issue
Block a user