Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
fraimondo committed Oct 28, 2024
1 parent 724fc1e commit 5879835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion joblib_htcondor/tests/test_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def compare_backends(a, b) -> bool:

def test_pickle() -> None:
"""Test pickling of the backend."""
backend = _HTCondorBackend()
backend = _HTCondorBackend(request_cpus=1, request_memory="2GB")
pickled_backend = pickle.loads(pickle.dumps(backend))
assert compare_backends(pickled_backend, backend)

Expand Down

0 comments on commit 5879835

Please sign in to comment.