From 5de48bdd195b14426c772b4c61290aef7f33e3ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Walter=20D=C3=B6rwald?= Date: Mon, 11 Jun 2007 21:38:39 +0000 Subject: Simplify various spots where: str() is called on something that already is a string or the existence of the str class is checked or a check is done for str twice. These all stem from the initial unicode->str replacement. --- Lib/test/test_iter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/test_iter.py') diff --git a/Lib/test/test_iter.py b/Lib/test/test_iter.py index 42d4e3ee0a..f7712db7b7 100644 --- a/Lib/test/test_iter.py +++ b/Lib/test/test_iter.py @@ -526,7 +526,7 @@ class TestCase(unittest.TestCase): # and pass that on to unicode.join(). try: got = " - ".join(OhPhooey(f)) - self.assertEqual(got, str("a\n - b\n - fooled you! - c\n")) + self.assertEqual(got, "a\n - b\n - fooled you! - c\n") finally: f.close() try: -- cgit v1.2.1