def test_warnings_suppressed(self):
        root = FilePath(flocker.__file__)
        result = check_output(
            [executable, b"-c", (b"import flocker; import warnings; " +
                                 b"warnings.warn('ohno')")],
            stderr=STDOUT,
            # Make sure we can import flocker package:
            cwd=root.parent().parent().path)
        self.assertEqual(result, b"")
Warnings are suppressed for processes that import flocker.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/test/test_flocker.py/WarningsTests.test_warnings_suppressed