isislovecruft/python-gnupg — pull request #14 by mmn (2013-07-28 22:32:40+00:00)
Title: Fixes for test gpg binary version str

commit aa6ced5d14b2d3b406da63e36d9d41078801b610
Author: Mikael Nordfeldth
Date: Mon Jul 29 00:24:53 2013 +0200

stdout.read() wants bytes, which failed on Py3 str

I don't know how far back the b"byte string" syntax is compatible with this change in Python 2.x, but in 2.7.3 it works as it should.

commit 314e670adaad257d84034c7c84ae7558034f41a9
Author: Mikael Nordfeldth
Date: Mon Jul 29 00:18:52 2013 +0200

test_gpg_binary_version_str failed for non-English

This patch sets the environment variable LANGUGE to 'en', meaning English translation is used for outputs. The string comparisons in test_gpg_binary_version_str failed otherwise when using a non-English locale. Another choice may be to set LANG=C to avoid locales all-in-all.

commit ce76fd130abcdd40fd0cfc4bfe5030a8dd426e85
Author: Mikael Nordfeldth
Date: Mon Jul 29 00:18:49 2013 +0200

Grammar fix, repeated word in test description