From be3017f1de79c2b063af3f233a56736e38723d2c Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 5 Jan 2013 20:05:36 +0100 Subject: [PATCH] Filter: Fix encoding issues in tests. --- plugins/Filter/test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/Filter/test.py b/plugins/Filter/test.py index a22d1745f..1840a311c 100644 --- a/plugins/Filter/test.py +++ b/plugins/Filter/test.py @@ -1,3 +1,4 @@ +# -*- coding: utf8 -*- ### # Copyright (c) 2002-2005, Jeremiah Fincher # All rights reserved. @@ -96,7 +97,7 @@ class FilterTest(ChannelPluginTestCase): self.assertResponse('rot13 [rot13 %s]' % s, s) def testRot13HandlesNonAsciiStuff(self): - self.assertNotError('rot13 \xe4') + self.assertNotError(u'rot13 é') def testHexlifyUnhexlify(self): for s in map(str, range(1000, 1010)):