skip fixEncoding for py3

This commit is contained in:
Tomas Kopecek 2019-02-27 17:13:40 +01:00 committed by Mike McLean
parent 613d1587a6
commit eeeeb3ab78
6 changed files with 76 additions and 84 deletions

View file

@ -100,5 +100,5 @@ class TestBuildNotification(unittest.TestCase):
self.assertEqual(recipients, ["user@example.com"])
fn = os.path.join(os.path.dirname(__file__), 'data/calls', 'build_notif_1', 'message.txt')
with open(fn, 'rb') as fp:
msg_expect = fp.read()
msg_expect = fp.read().decode()
self.assertEqual(message, msg_expect)