From 70765d54340afd2132c034b1cd3daf41d2b9633a Mon Sep 17 00:00:00 2001 From: Jochem Nelen <78348388+Jnelen@users.noreply.github.com> Date: Fri, 21 Jun 2024 22:53:03 +0200 Subject: [PATCH] Update tests/test_parallel.py Fix test so it works with the changes made in PR #118 Co-authored-by: Rocco Meli --- tests/test_parallel.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_parallel.py b/tests/test_parallel.py index bbdd4c1..1330bb7 100644 --- a/tests/test_parallel.py +++ b/tests/test_parallel.py @@ -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)