From 8be98a22a860335848dab271a13372b678830084 Mon Sep 17 00:00:00 2001
From: Jamie Magee <jamie.magee@gmail.com>
Date: Sun, 17 Aug 2025 18:35:28 -0700
Subject: [PATCH] Python 3 compatibility fixes
Forwarded: https://github.com/DavidLP/pilight/pull/7

--- a/pilight/test/test_client.py
+++ b/pilight/test/test_client.py
@@ -5,7 +5,7 @@
 
 import unittest
 import time
-from mock import patch, call
+from unittest.mock import patch, call
 
 try:
     from StringIO import StringIO  # Python 2
@@ -125,5 +125,5 @@ def test_no_callback(self):
             pilight_client.start()
             time.sleep(1)  # Give time to set thread status
 
-        self.assertFalse(pilight_client.isAlive())
+        self.assertFalse(pilight_client.is_alive())
         pilight_client.stop()
