diff --git a/force_bdss/tests/test_bdss_application.py b/force_bdss/tests/test_bdss_application.py index 53e5a5cf2e3c3b82f0d7260d7a47018c2d672c68..ea3215d8b55816979b64947dba3826bb91664c53 100644 --- a/force_bdss/tests/test_bdss_application.py +++ b/force_bdss/tests/test_bdss_application.py @@ -17,9 +17,10 @@ except ImportError: class TestBDSSApplication(unittest.TestCase): def test_initialization(self): - with warnings.catch_warnings(): - warnings.simplefilter("ignore") - app = BDSSApplication(False, "foo/bar") + with testfixtures.LogCapture(): + with warnings.catch_warnings(): + warnings.simplefilter("ignore") + app = BDSSApplication(False, "foo/bar") self.assertFalse(app.evaluate) self.assertEqual(app.workflow_filepath, "foo/bar")