]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix stupid typo in test.
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Wed, 18 Aug 2010 21:12:52 +0000 (21:12 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Wed, 18 Aug 2010 21:12:52 +0000 (21:12 +0000)
Lib/test/test_unicodedata.py

index bfbb0aa2d645364043d26b0a5d979fcf13f0de45..45250d13dbf55efe7ff007965ce10ee409fdfd3e 100644 (file)
@@ -297,8 +297,8 @@ class UnicodeMiscTest(UnicodeDatabaseTest):
     def test_UCS4(self):
         # unicodedata should work with code points outside the BMP
         # even on a narrow Unicode build
-        self.assertEqual(self.db.category(u"\U0001012A"), "No")
-        self.assertEqual(self.db.numeric(u"\U0001012A"), 9000)
+        self.assertEqual(self.db.category("\U0001012A"), "No")
+        self.assertEqual(self.db.numeric("\U0001012A"), 9000)
 
 def test_main():
     test.support.run_unittest(