# HG changeset patch # User Jeff Hammel # Date 1330638162 28800 # Node ID cb24b5265557afedbf9bbb57a537daff7b1a24e3 # Parent 5a89eb7179875d11a252698a684b65aabe8f02ea clean out tmpdir diff -r 5a89eb717987 -r cb24b5265557 tests/doctest.txt --- a/tests/doctest.txt Thu Mar 01 13:36:38 2012 -0800 +++ b/tests/doctest.txt Thu Mar 01 13:42:42 2012 -0800 @@ -31,3 +31,9 @@ ['HelloWorld'] >>> os.listdir(os.path.join(directory, 'HelloWorld')) ['HelloWorld-0.0.tar.gz'] + +Upload the same package but with the wrong name:: + + >>> shutil.rmtree(os.path.join(directory, 'HelloWorld')) + >>> os.listdir(directory) + []