summary refs log tree commit diff stats
path: root/test/tc_utfwidth.py
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-09-30 01:08:40 +0200
committerhut <hut@lavabit.com>2010-09-30 01:08:40 +0200
commit512f386be8753775ec824a6d9cbaf6527d50eda4 (patch)
tree1799f231efa6df1b49602a142b6c3378ff8d6967 /test/tc_utfwidth.py
parentd4900452fca51685349966d527d173fdefe83f08 (diff)
downloadranger-512f386be8753775ec824a6d9cbaf6527d50eda4.tar.gz
ext.utfwidth: updated algorithms
Diffstat (limited to 'test/tc_utfwidth.py')
-rw-r--r--test/tc_utfwidth.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/tc_utfwidth.py b/test/tc_utfwidth.py
index 67ff609e..fba9f783 100644
--- a/test/tc_utfwidth.py
+++ b/test/tc_utfwidth.py
@@ -29,11 +29,6 @@ a_katakana = "ア"  # width = 2, bytes = 3
 # need one with width = 1 & bytes = 3
 
 class Test(TestCase):
-	def test_utf_byte_length(self):
-		self.assertEqual(1, utf_byte_length(a_ascii))
-		self.assertEqual(2, utf_byte_length(a_umlaut))
-		self.assertEqual(3, utf_byte_length(a_katakana))
-
 	def test_uwid(self):
 		self.assertEqual(1, uwid(a_ascii))
 		self.assertEqual(1, uwid(a_umlaut))