pytest-accept is a pytest plugin for automatically updating outputs. It runs along with pytest, observes the generated outputs, and writes them to the test's documented outputs.
Features
Testing Plugins - Automating the update of doctest output expectations.