From: Marc-André Lemburg Date: Mon, 30 Dec 2002 10:50:32 +0000 (+0000) Subject: String tests should test 8-bit strings :-) X-Git-Tag: v2.3c1~2830 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=63b482cefbb1b62d257e390b93dd94bc29c8b5fa;p=thirdparty%2FPython%2Fcpython.git String tests should test 8-bit strings :-) --- diff --git a/Lib/test/test_string.py b/Lib/test/test_string.py index 6361f786f7d7..e0f799028a1b 100644 --- a/Lib/test/test_string.py +++ b/Lib/test/test_string.py @@ -60,7 +60,7 @@ string.uppercase # Float formatting for prec in range(100): - formatstring = u'%%.%if' % prec + formatstring = '%%.%if' % prec value = 0.01 for x in range(60): value = value * 3.141592655 / 3.0 * 10.0