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
|
barbara = key.fingerprint
|
||||||
gpg = self.gpg
|
gpg = self.gpg
|
||||||
gpg.encoding = 'latin-1'
|
gpg.encoding = 'latin-1'
|
||||||
if gnupg._py3k:
|
if gnupg._util._py3k:
|
||||||
data = 'Hello, André!'
|
data = 'Hello, André!'
|
||||||
else:
|
else:
|
||||||
data = unicode('Hello, André', gpg.encoding)
|
data = unicode('Hello, André', gpg.encoding)
|
||||||
|
|
Loading…
Reference in New Issue