[PR PATCH] selftest/check_output: convert bytes to str for Python 3
github at samba.org
github at samba.org
Mon Mar 26 02:16:02 UTC 2018
There is a new pull request by catalyst-joe-guo against master on the Samba Samba Github repository
https://github.com/catalyst-joe-guo/samba github-joeg-fork-master
https://github.com/samba-team/samba/pull/150
selftest/check_output: convert bytes to str for Python 3
`BlackboxTestCase.check_output` will return bytes since it uses
`subprocess.communicate` underneath.
Convert expected string result to bytes for comparing.
This will be compatible for both Python 2 & 3.
Signed-off-by: Joe Guo <joeg at catalyst.net.nz>
A patch file from https://github.com/samba-team/samba/pull/150.patch is attached
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: github-pr-github-joeg-fork-master-150.patch
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180326/65b1e85e/github-pr-github-joeg-fork-master-150.patch>
More information about the samba-technical
mailing list