tools/mac/power/collapse_profile_test.py
def testEmpty(self):
    """Tests that a directory with no valid stacks triggers a failure."""

    with self.assertRaises(SystemExit):
      collapser = StackCollapser('./samples.collapsed')
      collapser.read_dtrace_logs('./test_data/empty/')
Tests that a directory with no valid stacks triggers a failure.
Tests that a directory with no valid stacks triggers a failure.
Tests that a directory with no valid stacks triggers a failure .
def testEmpty(self):
    with self.assertRaises(SystemExit):
      collapser = StackCollapser('./samples.collapsed')
      collapser.read_dtrace_logs('./test_data/empty/')
def testEmpty ( self ) : with self . assertRaises ( SystemExit ) : collapser = StackCollapser ( './samples.collapsed' ) collapser . read_dtrace_logs ( './test_data/empty/' )
Tests that a directory with no valid stacks triggers a failure.
Tests that a directory with no valid stacks triggers a failure .
"""Tests that a directory with no valid stacks triggers a failure."""
self