PatchSet.dump requires all variables to be byte objects.
Fix this + add a simple test.
Note that I choose a simple patch file to compare in the test, because the patch does not save comments on the patch lines starting with ---, +++ and @@.
Will this work in python 2? (I used tostr locally, unsure of this. Regardless, python 2 is EOL).
It seems the past maintainers have left and something new may be needed.
PatchSet.dump
requires all variables to bebyte
objects.Fix this + add a simple test.
Note that I choose a simple patch file to compare in the test, because the patch does not save comments on the patch lines starting with
---
,+++
and@@
.