My coworker Chris came up with this, and it works, but I wonder if there's a more "official" way to do this using unittest.TestCase in Python.
def tearDown(self):
""" clean up by closing the browser window """
if sys.exc_info() == (None, None, None): # leave window open on fail
self.driver.quit()
