Fix a bug due to the _py3k check being moved to the utils module.
parent
d6ac61cc81
commit
ce323251ed
|
@ -420,7 +420,7 @@ class GPGTestCase(unittest.TestCase):
|
|||
barbara = key.fingerprint
|
||||
gpg = self.gpg
|
||||
gpg.encoding = 'latin-1'
|
||||
if gnupg._py3k:
|
||||
if gnupg._util._py3k:
|
||||
data = 'Hello, André!'
|
||||
else:
|
||||
data = unicode('Hello, André', gpg.encoding)
|
||||
|
|
Loading…
Reference in New Issue