Skip to content

Commit

Permalink
(Fix Tests): Change method from shutil.remove to shutil.rmtree
Browse files Browse the repository at this point in the history
- remove was not a member of shutil and tests were failing because of
it. To fix it, shutil.rmtree is used.

Signed-off-by: Akash Srivastava <akashsrivastava4927@gmail.com>
  • Loading branch information
qiell committed Oct 14, 2019
1 parent a0b75cc commit c265ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def should_update_common_wheels():

# Clear the stale cache.
if need_to_repopulate:
shutil.remove(LOCATIONS["common-wheels"], ignore_errors=True)
shutil.rmtree(LOCATIONS["common-wheels"], ignore_errors=True)

return need_to_repopulate

Expand Down

0 comments on commit c265ce1

Please sign in to comment.