Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6d0b2c4

Browse files
committed
only delete .rst and .png in the tests directory
1 parent 6a02f3f commit 6d0b2c4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_simple.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
def clean_dir():
88
"Remove .rst files created during conversion"
9-
map(os.remove, glob.glob("*.rst"))
10-
map(os.remove, glob.glob("*.png"))
9+
map(os.remove, glob.glob("./tests/*.rst"))
10+
map(os.remove, glob.glob("./tests/*.png"))
1111

1212

1313
@nt.with_setup(clean_dir, clean_dir)

0 commit comments

Comments
 (0)