'If writing to the underlying file raises an exception,
L{FilePath.setContent} raises that exception after closing the file.'

def test_fileClosing(self):

    fp = ExplodingFilePath('')
    self.assertRaises(IOError, fp.setContent, 'blah')
    self.assertTrue(fp.fp.closed)
