tests/test_graphics_charts.py
branchpy33
changeset 3794 398ea04239b5
parent 3721 0c93dd8ff567
child 4056 be1be82d76fa
--- a/tests/test_graphics_charts.py	Tue Nov 19 12:21:04 2013 +0000
+++ b/tests/test_graphics_charts.py	Tue Nov 19 13:50:34 2013 +0000
@@ -79,7 +79,7 @@
     bc.categoryAxis.labels.dy = -2
     bc.categoryAxis.labels.angle = 30
 
-    catNames = string.split('Jan Feb Mar Apr May Jun Jul Aug', ' ')
+    catNames = 'Jan Feb Mar Apr May Jun Jul Aug'.split( ' ')
     catNames = [n+'-99' for n in catNames]
     bc.categoryAxis.categoryNames = catNames
     drawing.add(bc)
@@ -113,7 +113,7 @@
     bc.categoryAxis.labels.dy = -2
     bc.categoryAxis.labels.angle = 30
 
-    catNames = string.split('Jan Feb Mar Apr May Jun Jul Aug', ' ')
+    catNames = 'Jan Feb Mar Apr May Jun Jul Aug'.split(' ')
     catNames = [n+'-99' for n in catNames]
     bc.categoryAxis.categoryNames = catNames
     drawing.add(bc)