Skip to content

Commit

Permalink
TST avoid nose running setup() in gen_rst.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jnothman committed Jun 5, 2014
1 parent aca4925 commit 6f6a537
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/sphinxext/gen_rst.py
Original file line number Diff line number Diff line change
Expand Up @@ -1151,3 +1151,8 @@ def setup(app):
for filename in filelist:
if filename.endswith('png'):
os.remove(os.path.join(build_image_dir, filename))


def setup_module():
# HACK: Stop nosetests running setup() above
pass

0 comments on commit 6f6a537

Please sign in to comment.