Skip to content

Commit c265ce1

Browse files
committed
(Fix Tests): Change method from shutil.remove to shutil.rmtree
- 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 <[email protected]>
1 parent a0b75cc commit c265ce1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

noxfile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def should_update_common_wheels():
7373

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

7878
return need_to_repopulate
7979

0 commit comments

Comments
 (0)