26 lines
719 B
Diff
26 lines
719 B
Diff
From ad952b384b2066d4424af8304444e23e95a2f646 Mon Sep 17 00:00:00 2001
|
|
From: root <root@localhost.localdomain>
|
|
Date: Wed, 2 Mar 2022 18:29:39 +0800
|
|
Subject: [PATCH] to_adapt_py310
|
|
|
|
---
|
|
tests/conftest.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/tests/conftest.py b/tests/conftest.py
|
|
index ec47c86..174aebf 100644
|
|
--- a/tests/conftest.py
|
|
+++ b/tests/conftest.py
|
|
@@ -60,7 +60,7 @@ def serve():
|
|
log.debug("shutting server down")
|
|
server.shutdown()
|
|
worker.join(1)
|
|
- if worker.isAlive():
|
|
+ if worker.is_alive():
|
|
log.warning('worker is hanged')
|
|
else:
|
|
log.debug("server stopped")
|
|
--
|
|
2.27.0
|
|
|