summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_unicodedata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_unicodedata.py b/Lib/test/test_unicodedata.py
index bfbb0aa..45250d1 100644
--- a/Lib/test/test_unicodedata.py
+++ b/Lib/test/test_unicodedata.py
@@ -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(