On Mon, 28 Feb 2011 23:03:51 +0100
brett.cannon <[email protected]> wrote:
> +    try:
> +        subprocess.call([cmd, '-W', 'default', '-bb', '-E', '-m', 'test', 
> '-r',
> +                         '-w', '-u', 'all', '-j',
> +                         str(multiprocessing.cpu_count())])
> +    finally:
> +        os.rmdir('build')

os.rmdir() won't work on a non-empty directory; you probably want
shutil.rmtree() instead.

Regards

Antoine.


_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to