on_exit in test does not work properly as teardown - the variable is unset, but doctest apparently runs after tests and it is not cleaned up
on_exit in test does not work properly as teardown - the variable is unset, but doctest apparently runs after tests and it is not cleaned up