diff --git a/htmd/builder/amber.py b/htmd/builder/amber.py index c825a7e23..e5de1047f 100644 --- a/htmd/builder/amber.py +++ b/htmd/builder/amber.py @@ -1488,7 +1488,9 @@ def _fix_mol(bn, mol, repl): tleap_installed = False -@unittest.skip(not tleap_installed, "teLeap is not installed. Cannot test amber.build") +@unittest.skipIf( + not tleap_installed, "teLeap is not installed. Cannot test amber.build" +) class _TestAmberBuild(unittest.TestCase): currentResult = None # holds last result object passed to run method