From 543fa0662351c1cd2cbd7e06dbe1f2d97d1c76f8 Mon Sep 17 00:00:00 2001 From: rmlibre Date: Sat, 1 Jun 2024 16:12:21 -0400 Subject: [PATCH] v0.23.2: Troubleshoot cross-platform time, async, & concurrency errors. --- tests/test_Processes_Threads.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/test_Processes_Threads.py b/tests/test_Processes_Threads.py index 526a1a1..ddfc138 100644 --- a/tests/test_Processes_Threads.py +++ b/tests/test_Processes_Threads.py @@ -107,16 +107,16 @@ async def test_probe_delay_must_be_positive(self) -> None: self._type.new(csprng, probe_delay=-1) -class TestProcesses(BasicTestSuite): - _type: type = Processes - _id_name: str = "process_id" +if platform.system() != "Windows": + class TestProcesses(BasicTestSuite): + _type: type = Processes + _id_name: str = "process_id" -if platform.system() != "Windows": - class TestThreads(BasicTestSuite): - _type: type = Threads - _id_name: str = "thread_id" +class TestThreads(BasicTestSuite): + _type: type = Threads + _id_name: str = "thread_id" __all__ = sorted({n for n in globals() if n.lower().startswith("test")})