Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaeffaf commit a1dde13Copy full SHA for a1dde13
1 file changed
Lib/test/test_codecs.py
@@ -332,13 +332,18 @@ def test_nameprep(self):
332
except Exception,e:
333
raise test_support.TestFailed("Test 3.%d: %s" % (pos+1, str(e)))
334
335
+class CodecTest(unittest.TestCase):
336
+ def test_builtin(self):
337
+ self.assertEquals(unicode("python.org", "idna"), u"python.org")
338
+
339
def test_main():
340
test_support.run_unittest(
341
UTF16Test,
342
EscapeDecodeTest,
343
RecodingTest,
344
PunycodeTest,
- NameprepTest
345
+ NameprepTest,
346
+ CodecTest
347
)
348
349
0 commit comments