Skip to content
Browse files

only delete .rst and .png in the tests directory

  • Loading branch information...
1 parent 6a02f3f commit 6d0b2c42a5b6c8084bce443fc77c6094fcf22a19 @ivanov ivanov committed Mar 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/test_simple.py
View
4 tests/test_simple.py
@@ -6,8 +6,8 @@
def clean_dir():
"Remove .rst files created during conversion"
- map(os.remove, glob.glob("*.rst"))
- map(os.remove, glob.glob("*.png"))
+ map(os.remove, glob.glob("./tests/*.rst"))
+ map(os.remove, glob.glob("./tests/*.png"))
@nt.with_setup(clean_dir, clean_dir)

0 comments on commit 6d0b2c4

Please sign in to comment.
Something went wrong with that request. Please try again.