Yes, it needs to be bytes. Use util.fsencode() to convert.
On Sun, Dec 1, 2019 at 5:02 PM carlalex <[email protected]> wrote: > So, the test failures in manual/backendtest are in test_delete and > test_list. I think the backend is actually listing and deleting as I would > expect, but the test is failing due to a type mismatch. These tests as > written are looking for files names b'a' and b'b', but list is returning > then as regular (unicode?) strings, not byte strings. > > In this case, I am not sure if the test is wrong, or if I should change > the backend to return byte strings in list rather than unicode strings. > > -- > https://code.launchpad.net/~carlalex/duplicity/duplicity/+merge/376206 > You are subscribed to branch lp:duplicity. > -- https://code.launchpad.net/~carlalex/duplicity/duplicity/+merge/376206 Your team duplicity-team is subscribed to branch lp:duplicity. _______________________________________________ Mailing list: https://launchpad.net/~duplicity-team Post to : [email protected] Unsubscribe : https://launchpad.net/~duplicity-team More help : https://help.launchpad.net/ListHelp

