summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/testutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testutil.py b/tests/testutil.py
index 3f7ac5f..ad9525d 100644
--- a/tests/testutil.py
+++ b/tests/testutil.py
@@ -150,7 +150,7 @@ class MockedWKDOpenPGPEnvironment(gemato.openpgp.OpenPGPEnvironment):
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)