3816
3816
osutils.rmtree(dirname)
3817
3817
except OSError, e:
3818
if sys.platform == 'win32' and e.errno == errno.EACCES:
3819
sys.stderr.write('Permission denied: '
3820
'unable to remove testing dir '
3822
% (os.path.basename(dirname), e))
3818
# We don't want to fail here because some useful display will be lost
3819
# otherwise. Polluting the tmp dir is bad, but not giving all the
3820
# possible info to the test runner is even worse.
3821
sys.stderr.write('Unable to remove testing dir %s\n%s'
3822
% (os.path.basename(dirname), e))
3827
3825
class Feature(object):