diff --git a/mbuild/tests/test_compound.py b/mbuild/tests/test_compound.py index 3ed142af9..376f1eb6f 100644 --- a/mbuild/tests/test_compound.py +++ b/mbuild/tests/test_compound.py @@ -385,7 +385,7 @@ def test_load_protein(self): ) def test_save_simple(self, ch3, extension): # Can't save gsd files with Windows - if extension == ".gsd" as not has_hoomd: + if extension == ".gsd" and not has_hoomd: return True outfile = "methyl_out" + extension ch3.save(filename=outfile)