]> arthur.barton.de Git - bup.git/commit
test-prune-older: accommodate unified_diff break in python 3.5
authorRob Browning <rlb@defaultvalue.org>
Sun, 15 Nov 2020 17:44:27 +0000 (11:44 -0600)
committerRob Browning <rlb@defaultvalue.org>
Thu, 26 Nov 2020 21:53:09 +0000 (15:53 -0600)
commitf5c24bc8819d0339b2476020672d741fbf7bdd8f
treecb02ad50fa8b48ab9ca2e34934626f4571ca604b
parent51369249eb13f732a07368defbd27b06cb0ed5e3
test-prune-older: accommodate unified_diff break in python 3.5

Apparently python 3.5 changed unified_diff to crash when given bytes
arguments, and added a new diff_bytes function.  Use the latter when
the version is >= 3.5.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
test/ext/test-prune-older