Fix a bug due to the _py3k check being moved to the utils module.

testing/mmn/mktime_takes_localtime_not_gmtime
Isis Lovecruft 2013-05-09 19:14:52 +00:00
parent d6ac61cc81
commit ce323251ed
No known key found for this signature in database
GPG Key ID: A3ADB67A2CDB8B35
1 changed files with 1 additions and 1 deletions

View File

@ -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)