Skip to content

Commit

Permalink
Remove .doctrees instead of the entire folder
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal authored Dec 23, 2023
1 parent 2027181 commit a32beb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def run_doc_tests():
# Regardless of whether the doctests pass or fail, attempt to remove the built files.
print("Deleting built files.")
try:
shutil.rmtree("docs/build")
shutil.rmtree("docs/build/html/.doctrees/")
except Exception as e:
print(f"Error deleting built files: {e}")

Expand Down

0 comments on commit a32beb5

Please sign in to comment.