python-devtools
python-devtools copied to clipboard
Add multi line string option to insert_assert
It is sometimes desirable to use a multi line string to improve readability rather than using \n, it would be great if insert_assert supported this as a kwarg to replace with a multi line string.
You might be interested in https://github.com/15r10nk/inline-snapshot which offers similar functionality to insert_assert and uses multiline strings when it thinks it should: https://15r10nk.github.io/inline-snapshot/#code-generation