소스 검색

use manual python calls instead of pytest

justheuristic 4 년 전
부모
커밋
4b6d5adb34
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      tests/test_averaging.py

+ 3 - 3
tests/test_averaging.py

@@ -578,15 +578,15 @@ if __name__ == '__main__':
     with cleanup_children():
         loop = asyncio.new_event_loop()
         loop.run_until_complete(test_key_manager())
-        print(f"test_key_manager()")
+        print(f"PASSED test_key_manager()")
         del loop
     for n_clients in [0, 1, 2]:
         for n_aux in [0, 1, 2]:
             with cleanup_children():
                 _test_allreduce_once(n_clients, n_aux)
-                print(f"_test_allreduce_once({n_clients}, {n_aux})")
+                print(f"PASSED _test_allreduce_once({n_clients}, {n_aux})")
     for n_clients, n_aux in [(0, 4), (1, 3), (0, 3)]:
         with cleanup_children():
             _test_allreduce_once(n_clients, n_aux)
-            print(f"_test_allreduce_once({n_clients}, {n_aux})")
+            print(f"PASSED _test_allreduce_once({n_clients}, {n_aux})")
     print("DONE!")