15
you are viewing a single comment's thread
view the rest of the comments
[-] logging_strict@programming.dev 1 points 2 years ago

Often using pytest to debug code. When using a tmp_path, would prefer not to delete the file tree in the end.

When the test fails, can run the code against the folder tree

  • cd into the tmp folder
  • activate the venv
  • run the code
this post was submitted on 31 Dec 2024
15 points (100.0% liked)

Python

8022 readers
1 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 3 years ago
MODERATORS