]> granicus.if.org Git - python/commitdiff
String tests should test 8-bit strings :-)
authorMarc-André Lemburg <mal@egenix.com>
Mon, 30 Dec 2002 10:50:32 +0000 (10:50 +0000)
committerMarc-André Lemburg <mal@egenix.com>
Mon, 30 Dec 2002 10:50:32 +0000 (10:50 +0000)
Lib/test/test_string.py

index 6361f786f7d79444700458ebd8722a3877944813..e0f799028a1b8318114453a42229279778c2070e 100644 (file)
@@ -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