summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2022-04-25 10:56:57 -0400
committerJeff Forcier <jeff@bitprophet.org>2022-04-25 10:56:57 -0400
commitf2b4be883adad4cb80a39312cf45a6d3248432a6 (patch)
tree3e75d83a6009066a911faf69eca465758949a837 /tests
parentf325261699a1989d7aef1a62e3b3dab96f25d237 (diff)
parent5540514928474956c25936ab48f7fa0b59755bb1 (diff)
downloadparamiko-f2b4be883adad4cb80a39312cf45a6d3248432a6.tar.gz
Merge branch '2.10'
Diffstat (limited to 'tests')
-rw-r--r--tests/loop.py2
-rw-r--r--tests/test_transport.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/loop.py b/tests/loop.py
index 87fb089a..6de4b164 100644
--- a/tests/loop.py
+++ b/tests/loop.py
@@ -81,7 +81,7 @@ class LoopSocket(object):
self.__lock.acquire()
try:
self.__in_buffer += data
- self.__cv.notifyAll()
+ self.__cv.notify_all()
finally:
self.__lock.release()
diff --git a/tests/test_transport.py b/tests/test_transport.py
index 8e5f8cd7..b26d36cd 100644
--- a/tests/test_transport.py
+++ b/tests/test_transport.py
@@ -756,7 +756,7 @@ class TransportTest(unittest.TestCase):
threading.Thread.__init__(
self, None, None, self.__class__.__name__
)
- self.setDaemon(True)
+ self.daemon = True
self.chan = chan
self.iterations = iterations
self.done_event = done_event
@@ -780,7 +780,7 @@ class TransportTest(unittest.TestCase):
threading.Thread.__init__(
self, None, None, self.__class__.__name__
)
- self.setDaemon(True)
+ self.daemon = True
self.chan = chan
self.done_event = done_event
self.watchdog_event = threading.Event()