From e5410b7fa1381e441bdaa8f55e943216f45f6085 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Walter=20D=C3=B6rwald?= Date: Fri, 8 Jun 2007 14:30:53 +0000 Subject: Rename checks for test_support.have_unicode (we always have unicode support now) and either drop the tests or merge them into the existing tests. --- Lib/test/test_textwrap.py | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'Lib/test/test_textwrap.py') diff --git a/Lib/test/test_textwrap.py b/Lib/test/test_textwrap.py index 472d125e53..89316bc0ee 100644 --- a/Lib/test/test_textwrap.py +++ b/Lib/test/test_textwrap.py @@ -336,19 +336,6 @@ What a mess! "with ", "much white", "space."], drop_whitespace=False) - if test_support.have_unicode: - def test_unicode(self): - # *Very* simple test of wrapping Unicode strings. I'm sure - # there's more to it than this, but let's at least make - # sure textwrap doesn't crash on Unicode input! - text = "Hello there, how are you today?" - self.check_wrap(text, 50, ["Hello there, how are you today?"]) - self.check_wrap(text, 20, ["Hello there, how are", "you today?"]) - olines = self.wrapper.wrap(text) - assert isinstance(olines, list) and isinstance(olines[0], str) - otext = self.wrapper.fill(text) - assert isinstance(otext, str) - def test_split(self): # Ensure that the standard _split() method works as advertised # in the comments -- cgit v1.2.1