def testRmtreeNonExistingDir(self):
    directory = 'nonexisting'
    self.assertRaises(IOError, self.shutil.rmtree, directory)
    try:
        self.shutil.rmtree(directory, ignore_errors=True)
    except __HOLE__:
        self.fail('rmtree raised despite ignore_errors True')
dataset/ETHPy150Open jmcgeheeiv/pyfakefs/fake_filesystem_shutil_test.py/FakeShutilModuleTest.testRmtreeNonExistingDir