You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Jack Jackson e78bcbaa00 First implementation 3 months ago
lib First implementation 3 months ago
tests First implementation 3 months ago
README.md First implementation 3 months ago

README.md

Demonstration of the use of "conditional cleanups" in pytest, as explored further in this blog post.

Run pytest, and observe that the tempfile is cleaned up for the passing test, but persisted for the failing test.