Skip to content

Commit

Permalink
Update tests/test_parallel.py
Browse files Browse the repository at this point in the history
Fix test so it works with the changes made in PR #118

Co-authored-by: Rocco Meli <[email protected]>
  • Loading branch information
Jnelen and RMeli authored Jun 21, 2024
1 parent dbade96 commit 70765d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ def test_prmsdwrapper_single_molecule(


def test_prmsdwrapper_single_molecule_timeout(muparfostat) -> None:
mol1 = copy.deepcopy(muparfostat)
mol2 = copy.deepcopy(muparfostat)
mol1 = muparfostat.mol
mol2 = muparfostat.mol

with pytest.warns(
UserWarning, match=r"\d+ compounds failed to process successfully"
UserWarning, match="1 chunks timed out"
):
RMSD = prmsdwrapper(mol1, mol2, timeout=1e-3, num_workers=1)

Expand Down

0 comments on commit 70765d5

Please sign in to comment.