def test_adds_error(self):
        try:
            raise ValueError()
        except __HOLE__:
            exc = sys.exc_info()
        plugin = self._make_one()
        plugin.addError(case.Test(FakeTestCase()), exc)
        line = plugin.tracker._test_cases['FakeTestCase'][0]
        self.assertFalse(line.ok)
dataset/ETHPy150Open mblayman/tappy/tap/tests/test_nose_plugin.py/TestNosePlugin.test_adds_error