def test_load_fail(self):
        """test that loading a nonexistent file fails"""
        p = "/does/not/exists"
        self.assertFalse(os.path.exists(p))
        with self.assertRaises(IOError):
            ShHistory.load(p, self.stash)
test that loading a nonexistent file fails
tests/system/test_history.py