Sfoglia il codice sorgente

Merge remote-tracking branch 'origin/master' into averager-libp2p

Aleksandr Borzunov 4 anni fa
parent
commit
0d683fd37a
3 ha cambiato i file con 3 aggiunte e 4 eliminazioni
  1. 1 1
      .github/workflows/run-tests.yml
  2. 0 1
      hivemind/utils/mpfuture.py
  3. 2 2
      tests/conftest.py

+ 1 - 1
.github/workflows/run-tests.yml

@@ -60,7 +60,7 @@ jobs:
       - name: Test
         run: |
           cd tests
-          pytest -k "p2p"
+          pytest -k "p2p" -v
 
   codecov_in_develop_mode:
 

+ 0 - 1
hivemind/utils/mpfuture.py

@@ -4,7 +4,6 @@ import asyncio
 import concurrent.futures._base as base
 from contextlib import nullcontext, suppress
 import multiprocessing as mp
-import multiprocessing.connection
 import os
 import threading
 import uuid

+ 2 - 2
tests/conftest.py

@@ -5,7 +5,7 @@ from contextlib import suppress
 import psutil
 import pytest
 
-from hivemind.utils import get_logger
+from hivemind.utils.logging import get_logger
 from hivemind.utils.mpfuture import MPFuture
 
 
@@ -29,5 +29,5 @@ def cleanup_children():
             with suppress(psutil.NoSuchProcess):
                 child.kill()
 
-    # Killing child processes may leave the MPFuture backend broken
+    # Broken code or killing of child processes may leave the MPFuture backend corrupted
     MPFuture.reset_backend()