issue #477: fix new KwargsTest on Python 3.x.

This commit is contained in:
David Wilson 2019-01-23 12:44:08 +00:00
parent d4897d37bb
commit 01db198122
1 changed files with 1 additions and 1 deletions

View File

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