summaryrefslogtreecommitdiffstats
path: root/test/QT/up-to-date.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/QT/up-to-date.py')
-rw-r--r--test/QT/up-to-date.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/QT/up-to-date.py b/test/QT/up-to-date.py
index fbbcac0..21c758e 100644
--- a/test/QT/up-to-date.py
+++ b/test/QT/up-to-date.py
@@ -34,7 +34,6 @@ ca. September 2005.)
"""
import os
-import string
import TestSCons
@@ -133,7 +132,7 @@ my_obj = 'layer/aclock/qt_bug/my'+_obj
test.run(arguments = my_obj, stderr=None)
-expect = string.replace( my_obj, '/', os.sep )
+expect = my_obj.replace( '/', os.sep )
test.up_to_date(options = '--debug=explain',
arguments = (expect),
stderr=None)