loosen test now that bytes are allowed

This commit is contained in:
Benjamin Peterson 2012-12-02 12:37:04 -05:00
parent 78f7e3a8dc
commit 2f560fa300

View File

@ -113,7 +113,7 @@ class TestBase:
return (ret, exc.end)
codecs.register_error("test.cjktest", myreplace)
for ret in ([1, 2, 3], [], None, object(), b'string', b''):
for ret in ([1, 2, 3], [], None, object()):
self.assertRaises(TypeError, self.encode, self.unmappedunicode,
'test.cjktest')