[Python-Dev] devinabox: Properly clean up the 'build' directory from test runs.
Antoine Pitrou
solipsis at pitrou.net
Tue Mar 1 02:55:18 CET 2011
More information about the Python-Dev mailing list
Tue Mar 1 02:55:18 CET 2011
- Previous message: [Python-Dev] [Python-checkins] r88691 - python/branches/py3k/Lib/test/test_telnetlib.py
- Next message: [Python-Dev] r88676 - peps/trunk/pep-0385.txt
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 28 Feb 2011 23:03:51 +0100 brett.cannon <python-checkins at python.org> 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.
- Previous message: [Python-Dev] [Python-checkins] r88691 - python/branches/py3k/Lib/test/test_telnetlib.py
- Next message: [Python-Dev] r88676 - peps/trunk/pep-0385.txt
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list