1 --- python-zeroconf-0.19.1/test_zeroconf.py.orig 2017-06-13 08:34:17.000000000 +0200
2 +++ python-zeroconf-0.19.1/test_zeroconf.py 2023-03-26 17:55:15.249452986 +0200
3 @@ -272,7 +272,10 @@ class Names(unittest.TestCase):
4 assert longest_packet[0] >= r._MAX_MSG_ABSOLUTE - 100
6 # mock zeroconf's logger warning() and debug()
7 - from mock import patch
9 + from mock import patch
11 + from unittest.mock import patch
12 patch_warn = patch('zeroconf.log.warning')
13 patch_debug = patch('zeroconf.log.debug')
14 mocked_log_warn = patch_warn.start()