Skip to content

Commit

Permalink
clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
jovany-wang committed Jul 7, 2023
1 parent adc5c31 commit 4f6319d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/test_repeat_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,10 @@
import multiprocessing

import pytest
# import time
import fed
import fed._private.compatible_utils as compatible_utils
import ray

# from fed.cleanup import _start_check_sending, push_to_sending


@fed.remote
class My:
Expand All @@ -48,7 +45,6 @@ def bar(self, li):

def run(party):
def _run():
# assert fed.cleanup._sending_obj_refs_q is None
compatible_utils.init_ray(address='local')
fed.init(cluster=cluster, party=party)

Expand All @@ -64,7 +60,6 @@ def _run():

fed.shutdown()
ray.shutdown()
# assert fed.cleanup._sending_obj_refs_q is None

_run()
_run()
Expand Down

0 comments on commit 4f6319d

Please sign in to comment.