Skip to content

Commit

Permalink
Changed platform check to more generic
Browse files Browse the repository at this point in the history
  • Loading branch information
imbeacon committed Jan 20, 2025
1 parent 18806b2 commit 854da44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/base_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def tearDownClass(cls):
assert GatewayDeviceUtil.GATEWAY_DEVICE is None

def setUp(self):
if platform.system().startswith("win"):
if platform.startswith("win"):
signal.signal(signal.SIGALRM, self._timeout_handler)
signal.alarm(self.TIMEOUT)

Expand Down

0 comments on commit 854da44

Please sign in to comment.