Skip to content

Commit

Permalink
tests: Fix MockedWKDOpenPGPEnvironment._spawn_gpg() return types
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorny committed Mar 16, 2019
1 parent e7be516 commit 2a3c435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def _spawn_gpg(self, args, stdin):
self)._spawn_gpg(['--import'], self.keys[args[0]])
else:
ret = 2
return (ret, '', '')
return (ret, b'', b'')

return super(MockedWKDOpenPGPEnvironment, self)._spawn_gpg(
args, stdin)

0 comments on commit 2a3c435

Please sign in to comment.