Make encodings all ascii/utf-8 as appropriate.

This commit is contained in:
William Grant
2011-03-19 22:44:46 +11:00
parent b6d9e35a1d
commit d9e3b49a8e
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ class TestSignAndVerify(unittest.TestCase):
def dnsfunc(self, domain):
self.assertEqual('test._domainkey.example.com.', domain)
return read_test_data("test.txt").decode('latin1')
return read_test_data("test.txt").decode('utf-8')
def test_verifies(self):
# A message verifies after being signed.