Skip to content

Commit

Permalink
Whitespace fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
yadudoc committed Sep 5, 2024
1 parent 2bc90ab commit 3ed482e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions parsl/executors/globus_compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
UUID_LIKE_T = Union[uuid.UUID, str]



class GlobusComputeExecutor(ParslExecutor, RepresentationMixin):
""" GlobusComputeExecutor enables remote execution on Globus Compute endpoints
Expand All @@ -29,7 +28,7 @@ def __init__(
batch_size: int = 128,
amqp_port: Optional[int] = None,
**kwargs,
):
):
"""
Parameters
----------
Expand Down Expand Up @@ -122,7 +121,6 @@ def submit(self, func: Callable, resource_specification: Dict[str, Any], *args:
self._executor.resource_specification = resource_specification or self.resource_specification
return self._executor.submit(func, *args, **kwargs)


def shutdown(self, wait=True, *, cancel_futures=False):
"""Clean-up the resources associated with the Executor.
Expand All @@ -139,5 +137,3 @@ def shutdown(self, wait=True, *, cancel_futures=False):
Tasks cannot be cancelled once they are registered.
"""
return self._executor.shutdown()


2 changes: 1 addition & 1 deletion parsl/tests/configs/globus_compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ def fresh_config():
endpoint_id=endpoint_id
)
]
)
)
1 change: 0 additions & 1 deletion parsl/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ def pytest_configure(config):
)



@pytest.fixture(autouse=True, scope='session')
def load_dfk_session(request, pytestconfig, tmpd_cwd_session):
"""Load a dfk around entire test suite, except in local mode.
Expand Down
1 change: 1 addition & 0 deletions parsl/tests/test_bash_apps/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def test_auto_log_filename_format(caplog):
for record in caplog.records:
assert record.levelno < logging.ERROR


@pytest.mark.shared_fs
def test_parallel_for(tmpd_cwd, n=3):
"""Testing a simple parallel for loop"""
Expand Down

0 comments on commit 3ed482e

Please sign in to comment.