Skip to content

Commit

Permalink
v0.23.2: Troubleshoot cross-platform time, async, & concurrency errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
rmlibre committed Jun 1, 2024
1 parent cd19a92 commit 4c0b120
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions tests/test_Processes_Threads.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ def get_ids(self) -> t.Dict[str, int]:
async def test_anew(self) -> None:
name = self._id_name

if (name == "thread_id") and (self.system == "Windows"):
return

is_non_linux_multiprocessing_issue = lambda relay: (
(self._type is Processes) and (self.system != "Linux")
)
Expand All @@ -60,9 +57,6 @@ async def test_anew(self) -> None:
def test_new(self) -> None:
name = self._id_name

if (name == "thread_id") and (self.system == "Windows"):
return

is_non_linux_multiprocessing_issue = lambda relay: (
(self._type is Processes) and (self.system != "Linux")
)
Expand Down Expand Up @@ -118,9 +112,11 @@ class TestProcesses(BasicTestSuite):
_id_name: str = "process_id"


class TestThreads(BasicTestSuite):
_type: type = Threads
_id_name: str = "thread_id"
if platform.system() != "Windows":

class TestThreads(BasicTestSuite):
_type: type = Threads
_id_name: str = "thread_id"


__all__ = sorted({n for n in globals() if n.lower().startswith("test")})
Expand Down

0 comments on commit 4c0b120

Please sign in to comment.