From 01db198122b96b2dbe0aba0831f716a846b152ae Mon Sep 17 00:00:00 2001 From: David Wilson Date: Wed, 23 Jan 2019 12:44:08 +0000 Subject: [PATCH] issue #477: fix new KwargsTest on Python 3.x. --- tests/types_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/types_test.py b/tests/types_test.py index 9166f577..8f120931 100644 --- a/tests/types_test.py +++ b/tests/types_test.py @@ -101,7 +101,7 @@ class KwargsTest(testlib.TestCase): reason='py3 only') def test_unicode_conversion(self): kw = self.klass({mitogen.core.b('key'): 123}) - self.assertEquals({mitogen.core.b('key'): 123}, kw) + self.assertEquals({u'key': 123}, kw) self.assertEquals("Kwargs({'key': 123})", repr(kw)) klass, (dct,) = kw.__reduce__() self.assertTrue(klass is self.klass)