testgres icon indicating copy to clipboard operation
testgres copied to clipboard

safe_psql() method returns byte string

Open gsmolk opened this issue 4 years ago • 1 comments

Previously it was returning text, so now you have to manually decode it.

gsmolk avatar Oct 28 '20 14:10 gsmolk

Well, I don't see Popen call being changed in the last two years neither previously existed decode(). At which commit/version you saw the previous behaviour?

At least pathman tests rely on bytes returned in several places, so should be new method (or argument) at this point anyway.

arssher avatar Oct 28 '20 14:10 arssher